diff options
author | Sandro S. Andrade <sandroandrade@kde.org> | 2012-12-28 16:48:58 -0300 |
---|---|---|
committer | Sandro S. Andrade <sandroandrade@kde.org> | 2012-12-28 20:50:04 +0100 |
commit | 5ea015332a188943b393b7c8a2b0d5452529239e (patch) | |
tree | 7900983e7351e879848bfc2c9410f2a35338f1c4 /src/uml/qtemplatebinding.h | |
parent | a0a6ad462b05c7d174c7e26a815d6f54cfab3c31 (diff) |
Make use of new Qt5 properties facilities in QtUml/QtMof
Change-Id: I1510b900fd3aebd34620dba873dd63939f5b4ca6
Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qtemplatebinding.h')
-rw-r--r-- | src/uml/qtemplatebinding.h | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/uml/qtemplatebinding.h b/src/uml/qtemplatebinding.h index 231aa314..8d1c536b 100644 --- a/src/uml/qtemplatebinding.h +++ b/src/uml/qtemplatebinding.h @@ -68,7 +68,7 @@ class Q_UML_EXPORT QTemplateBinding : public QDirectedRelationship Q_PROPERTY(QTemplateSignature * signature READ signature WRITE setSignature) Q_PROPERTY(QTemplateableElement * boundElement READ boundElement WRITE setBoundElement) - Q_PROPERTY(const QSet<QTemplateParameterSubstitution *> * parameterSubstitutions READ parameterSubstitutions) + Q_PROPERTY(QSet<QTemplateParameterSubstitution *> parameterSubstitutions READ parameterSubstitutions) Q_DISABLE_COPY(QTemplateBinding) Q_DECLARE_PRIVATE(QTemplateBinding) @@ -82,10 +82,9 @@ public: Q_INVOKABLE void setSignature(QTemplateSignature *signature); Q_INVOKABLE QTemplateableElement *boundElement() const; Q_INVOKABLE void setBoundElement(QTemplateableElement *boundElement); - Q_INVOKABLE const QSet<QTemplateParameterSubstitution *> *parameterSubstitutions() const; + Q_INVOKABLE const QSet<QTemplateParameterSubstitution *> ¶meterSubstitutions() const; Q_INVOKABLE void addParameterSubstitution(QTemplateParameterSubstitution *parameterSubstitution); Q_INVOKABLE void removeParameterSubstitution(QTemplateParameterSubstitution *parameterSubstitution); - virtual void registerMetaTypes() const; protected: explicit QTemplateBinding(QTemplateBindingPrivate &dd, QWrappedObject *parent = 0, QWrappedObject *wrapper = 0); @@ -93,10 +92,6 @@ protected: QT_END_NAMESPACE_QTUML -Q_DECLARE_METATYPE(QT_PREPEND_NAMESPACE_QTUML(QTemplateBinding) *) -Q_DECLARE_METATYPE(const QSet<QT_PREPEND_NAMESPACE_QTUML(QTemplateBinding) *> *) -Q_DECLARE_METATYPE(const QList<QT_PREPEND_NAMESPACE_QTUML(QTemplateBinding) *> *) - QT_END_HEADER #endif // QTUML_QTEMPLATEBINDING_H |