summaryrefslogtreecommitdiffstats
path: root/src/uml/qobjects/qumlassociationobject_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qobjects/qumlassociationobject_p.h')
-rw-r--r--src/uml/qobjects/qumlassociationobject_p.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/src/uml/qobjects/qumlassociationobject_p.h b/src/uml/qobjects/qumlassociationobject_p.h
index 931fc9a0..ee50ec78 100644
--- a/src/uml/qobjects/qumlassociationobject_p.h
+++ b/src/uml/qobjects/qumlassociationobject_p.h
@@ -43,7 +43,7 @@
#include <QtUml/QtUmlGlobal>
-#include <QtCore/QObject>
+#include <QtModeling/QModelingObject>
#include <QtUml/QtUmlNamespace>
@@ -54,9 +54,12 @@ QT_BEGIN_NAMESPACE
QT_MODULE(QtUml)
class QUmlAssociation;
-class Q_UML_EXPORT QUmlAssociationObject : public QObject
+class QModelingObjectPrivate;
+class Q_UML_EXPORT QUmlAssociationObject : public QModelingObject
{
Q_OBJECT
+ Q_DISABLE_COPY(QUmlAssociationObject)
+ Q_DECLARE_PRIVATE(QModelingObject)
// Properties [Element]
Q_PROPERTY(QSet<QObject *> ownedComments READ ownedComments)
@@ -124,7 +127,7 @@ class Q_UML_EXPORT QUmlAssociationObject : public QObject
Q_PROPERTY(QList<QObject *> ownedEnds READ ownedEnds)
public:
- Q_INVOKABLE explicit QUmlAssociationObject(QUmlAssociation *qModelingObject);
+ Q_INVOKABLE explicit QUmlAssociationObject(QUmlAssociation *qModelingElement);
virtual ~QUmlAssociationObject();
// Owned attributes [Element]
@@ -331,6 +334,10 @@ public Q_SLOTS:
void removeNavigableOwnedEnd(QObject *navigableOwnedEnd);
void addOwnedEnd(QObject *ownedEnd);
void removeOwnedEnd(QObject *ownedEnd);
+
+protected:
+ virtual void setGroupProperties();
+ virtual void setPropertyData();
};
QT_END_NAMESPACE