summaryrefslogtreecommitdiffstats
path: root/src/uml/qtemplatebinding.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qtemplatebinding.h')
-rw-r--r--src/uml/qtemplatebinding.h9
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 *> &parameterSubstitutions() 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