diff options
Diffstat (limited to 'src/uml/qobjects/qumlusageobject.cpp')
-rw-r--r-- | src/uml/qobjects/qumlusageobject.cpp | 188 |
1 files changed, 119 insertions, 69 deletions
diff --git a/src/uml/qobjects/qumlusageobject.cpp b/src/uml/qobjects/qumlusageobject.cpp index bba0c22d..f57a2328 100644 --- a/src/uml/qobjects/qumlusageobject.cpp +++ b/src/uml/qobjects/qumlusageobject.cpp @@ -39,6 +39,7 @@ ** ****************************************************************************/ #include "qumlusageobject_p.h" +#include "private/qmodelingobject_p.h" #include <QtUml/QUmlUsage> #include <QtUml/QUmlComment> @@ -53,16 +54,18 @@ QT_BEGIN_NAMESPACE -QUmlUsageObject::QUmlUsageObject(QUmlUsage *qModelingObject) +QUmlUsageObject::QUmlUsageObject(QUmlUsage *qModelingElement) { - setProperty("modelingObject", QVariant::fromValue(static_cast<QModelingObject *>(qModelingObject))); + setProperty("modelingElement", QVariant::fromValue(static_cast<QModelingElement *>(qModelingElement))); + setGroupProperties(); + setPropertyData(); } QUmlUsageObject::~QUmlUsageObject() { if (!property("deletingFromModelingObject").isValid()) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->deletingFromQObject = true; - delete qmodelingobjectproperty_cast<QUmlComment *>(this); + qmodelingelementproperty_cast<QUmlUsage *>(this)->deletingFromQModelingObject = true; + delete qmodelingelementproperty_cast<QUmlComment *>(this); } } @@ -71,43 +74,43 @@ QUmlUsageObject::~QUmlUsageObject() const QSet<QObject *> QUmlUsageObject::ownedComments() const { QSet<QObject *> set; - foreach (QUmlComment *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->ownedComments()) - set.insert(element->asQObject()); + foreach (QUmlComment *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->ownedComments()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlUsageObject::ownedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->ownedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->ownedElements()) + set.insert(element->asQModelingObject()); return set; } QObject *QUmlUsageObject::owner() const { - if (!qmodelingobjectproperty_cast<QUmlUsage *>(this)->owner()) + if (!qmodelingelementproperty_cast<QUmlUsage *>(this)->owner()) return 0; else - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->owner()->asQObject(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->owner()->asQModelingObject(); } // OWNED ATTRIBUTES [ParameterableElement] QObject *QUmlUsageObject::owningTemplateParameter() const { - if (!qmodelingobjectproperty_cast<QUmlUsage *>(this)->owningTemplateParameter()) + if (!qmodelingelementproperty_cast<QUmlUsage *>(this)->owningTemplateParameter()) return 0; else - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->owningTemplateParameter()->asQObject(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->owningTemplateParameter()->asQModelingObject(); } QObject *QUmlUsageObject::templateParameter() const { - if (!qmodelingobjectproperty_cast<QUmlUsage *>(this)->templateParameter()) + if (!qmodelingelementproperty_cast<QUmlUsage *>(this)->templateParameter()) return 0; else - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->templateParameter()->asQObject(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->templateParameter()->asQModelingObject(); } // OWNED ATTRIBUTES [NamedElement] @@ -115,42 +118,42 @@ QObject *QUmlUsageObject::templateParameter() const const QSet<QObject *> QUmlUsageObject::clientDependencies() const { QSet<QObject *> set; - foreach (QUmlDependency *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->clientDependencies()) - set.insert(element->asQObject()); + foreach (QUmlDependency *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->clientDependencies()) + set.insert(element->asQModelingObject()); return set; } QString QUmlUsageObject::name() const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->name(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->name(); } QObject *QUmlUsageObject::nameExpression() const { - if (!qmodelingobjectproperty_cast<QUmlUsage *>(this)->nameExpression()) + if (!qmodelingelementproperty_cast<QUmlUsage *>(this)->nameExpression()) return 0; else - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->nameExpression()->asQObject(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->nameExpression()->asQModelingObject(); } QObject *QUmlUsageObject::namespace_() const { - if (!qmodelingobjectproperty_cast<QUmlUsage *>(this)->namespace_()) + if (!qmodelingelementproperty_cast<QUmlUsage *>(this)->namespace_()) return 0; else - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->namespace_()->asQObject(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->namespace_()->asQModelingObject(); } QString QUmlUsageObject::qualifiedName() const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->qualifiedName(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->qualifiedName(); } // OWNED ATTRIBUTES [PackageableElement] QtUml::VisibilityKind QUmlUsageObject::visibility() const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->visibility(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->visibility(); } // OWNED ATTRIBUTES [Relationship] @@ -158,8 +161,8 @@ QtUml::VisibilityKind QUmlUsageObject::visibility() const const QSet<QObject *> QUmlUsageObject::relatedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->relatedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->relatedElements()) + set.insert(element->asQModelingObject()); return set; } @@ -168,16 +171,16 @@ const QSet<QObject *> QUmlUsageObject::relatedElements() const const QSet<QObject *> QUmlUsageObject::sources() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->sources()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->sources()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlUsageObject::targets() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->targets()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->targets()) + set.insert(element->asQModelingObject()); return set; } @@ -186,16 +189,16 @@ const QSet<QObject *> QUmlUsageObject::targets() const const QSet<QObject *> QUmlUsageObject::clients() const { QSet<QObject *> set; - foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->clients()) - set.insert(element->asQObject()); + foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->clients()) + set.insert(element->asQModelingObject()); return set; } const QSet<QObject *> QUmlUsageObject::suppliers() const { QSet<QObject *> set; - foreach (QUmlNamedElement *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->suppliers()) - set.insert(element->asQObject()); + foreach (QUmlNamedElement *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->suppliers()) + set.insert(element->asQModelingObject()); return set; } @@ -204,26 +207,26 @@ const QSet<QObject *> QUmlUsageObject::suppliers() const QSet<QObject *> QUmlUsageObject::allOwnedElements() const { QSet<QObject *> set; - foreach (QUmlElement *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->allOwnedElements()) - set.insert(element->asQObject()); + foreach (QUmlElement *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->allOwnedElements()) + set.insert(element->asQModelingObject()); return set; } bool QUmlUsageObject::mustBeOwned() const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->mustBeOwned(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->mustBeOwned(); } // OPERATIONS [ParameterableElement] bool QUmlUsageObject::isCompatibleWith(QObject *p) const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->isCompatibleWith(qmodelingobjectproperty_cast<QUmlParameterableElement *>(p)); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->isCompatibleWith(qmodelingelementproperty_cast<QUmlParameterableElement *>(p)); } bool QUmlUsageObject::isTemplateParameter() const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->isTemplateParameter(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->isTemplateParameter(); } // OPERATIONS [NamedElement] @@ -231,165 +234,212 @@ bool QUmlUsageObject::isTemplateParameter() const QList<QObject *> QUmlUsageObject::allNamespaces() const { QList<QObject *> set; - foreach (QUmlNamespace *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->allNamespaces()) - set.append(element->asQObject()); + foreach (QUmlNamespace *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->allNamespaces()) + set.append(element->asQModelingObject()); return set; } QSet<QObject *> QUmlUsageObject::allOwningPackages() const { QSet<QObject *> set; - foreach (QUmlPackage *element, qmodelingobjectproperty_cast<QUmlUsage *>(this)->allOwningPackages()) - set.insert(element->asQObject()); + foreach (QUmlPackage *element, qmodelingelementproperty_cast<QUmlUsage *>(this)->allOwningPackages()) + set.insert(element->asQModelingObject()); return set; } bool QUmlUsageObject::isDistinguishableFrom(QObject *n, QObject *ns) const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->isDistinguishableFrom(qmodelingobjectproperty_cast<QUmlNamedElement *>(n), qmodelingobjectproperty_cast<QUmlNamespace *>(ns)); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->isDistinguishableFrom(qmodelingelementproperty_cast<QUmlNamedElement *>(n), qmodelingelementproperty_cast<QUmlNamespace *>(ns)); } QString QUmlUsageObject::separator() const { - return qmodelingobjectproperty_cast<QUmlUsage *>(this)->separator(); + return qmodelingelementproperty_cast<QUmlUsage *>(this)->separator(); } // SLOTS FOR OWNED ATTRIBUTES [Element] void QUmlUsageObject::addOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlUsageObject::removeOwnedComment(QObject *ownedComment) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeOwnedComment(qmodelingobjectproperty_cast<QUmlComment *>(ownedComment)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeOwnedComment(qmodelingelementproperty_cast<QUmlComment *>(ownedComment)); } void QUmlUsageObject::addOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlUsageObject::removeOwnedElement(QObject *ownedElement) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeOwnedElement(qmodelingobjectproperty_cast<QUmlElement *>(ownedElement)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeOwnedElement(qmodelingelementproperty_cast<QUmlElement *>(ownedElement)); } void QUmlUsageObject::setOwner(QObject *owner) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setOwner(qmodelingobjectproperty_cast<QUmlElement *>(owner)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setOwner(qmodelingelementproperty_cast<QUmlElement *>(owner)); } // SLOTS FOR OWNED ATTRIBUTES [ParameterableElement] void QUmlUsageObject::setOwningTemplateParameter(QObject *owningTemplateParameter) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setOwningTemplateParameter(qmodelingobjectproperty_cast<QUmlTemplateParameter *>(owningTemplateParameter)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setOwningTemplateParameter(qmodelingelementproperty_cast<QUmlTemplateParameter *>(owningTemplateParameter)); } void QUmlUsageObject::setTemplateParameter(QObject *templateParameter) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setTemplateParameter(qmodelingobjectproperty_cast<QUmlTemplateParameter *>(templateParameter)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setTemplateParameter(qmodelingelementproperty_cast<QUmlTemplateParameter *>(templateParameter)); } // SLOTS FOR OWNED ATTRIBUTES [NamedElement] void QUmlUsageObject::addClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlUsageObject::removeClientDependency(QObject *clientDependency) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeClientDependency(qmodelingobjectproperty_cast<QUmlDependency *>(clientDependency)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeClientDependency(qmodelingelementproperty_cast<QUmlDependency *>(clientDependency)); } void QUmlUsageObject::setName(QString name) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setName(name); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setName(name); } void QUmlUsageObject::setNameExpression(QObject *nameExpression) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setNameExpression(qmodelingobjectproperty_cast<QUmlStringExpression *>(nameExpression)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setNameExpression(qmodelingelementproperty_cast<QUmlStringExpression *>(nameExpression)); } void QUmlUsageObject::setNamespace(QObject *namespace_) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setNamespace(qmodelingobjectproperty_cast<QUmlNamespace *>(namespace_)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setNamespace(qmodelingelementproperty_cast<QUmlNamespace *>(namespace_)); } void QUmlUsageObject::setQualifiedName(QString qualifiedName) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setQualifiedName(qualifiedName); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setQualifiedName(qualifiedName); } // SLOTS FOR OWNED ATTRIBUTES [PackageableElement] void QUmlUsageObject::setVisibility(QtUml::VisibilityKind visibility) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->setVisibility(visibility); + qmodelingelementproperty_cast<QUmlUsage *>(this)->setVisibility(visibility); } void QUmlUsageObject::unsetVisibility() { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->modifiedResettableProperties().removeAll(QStringLiteral("visibility")); + Q_D(QModelingObject); + d->modifiedResettableProperties.removeAll(QStringLiteral("visibility")); } // SLOTS FOR OWNED ATTRIBUTES [Relationship] void QUmlUsageObject::addRelatedElement(QObject *relatedElement) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addRelatedElement(qmodelingobjectproperty_cast<QUmlElement *>(relatedElement)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addRelatedElement(qmodelingelementproperty_cast<QUmlElement *>(relatedElement)); } void QUmlUsageObject::removeRelatedElement(QObject *relatedElement) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeRelatedElement(qmodelingobjectproperty_cast<QUmlElement *>(relatedElement)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeRelatedElement(qmodelingelementproperty_cast<QUmlElement *>(relatedElement)); } // SLOTS FOR OWNED ATTRIBUTES [DirectedRelationship] void QUmlUsageObject::addSource(QObject *source) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addSource(qmodelingobjectproperty_cast<QUmlElement *>(source)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addSource(qmodelingelementproperty_cast<QUmlElement *>(source)); } void QUmlUsageObject::removeSource(QObject *source) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeSource(qmodelingobjectproperty_cast<QUmlElement *>(source)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeSource(qmodelingelementproperty_cast<QUmlElement *>(source)); } void QUmlUsageObject::addTarget(QObject *target) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addTarget(qmodelingobjectproperty_cast<QUmlElement *>(target)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addTarget(qmodelingelementproperty_cast<QUmlElement *>(target)); } void QUmlUsageObject::removeTarget(QObject *target) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeTarget(qmodelingobjectproperty_cast<QUmlElement *>(target)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeTarget(qmodelingelementproperty_cast<QUmlElement *>(target)); } // SLOTS FOR OWNED ATTRIBUTES [Dependency] void QUmlUsageObject::addClient(QObject *client) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addClient(qmodelingobjectproperty_cast<QUmlNamedElement *>(client)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addClient(qmodelingelementproperty_cast<QUmlNamedElement *>(client)); } void QUmlUsageObject::removeClient(QObject *client) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeClient(qmodelingobjectproperty_cast<QUmlNamedElement *>(client)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeClient(qmodelingelementproperty_cast<QUmlNamedElement *>(client)); } void QUmlUsageObject::addSupplier(QObject *supplier) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->addSupplier(qmodelingobjectproperty_cast<QUmlNamedElement *>(supplier)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->addSupplier(qmodelingelementproperty_cast<QUmlNamedElement *>(supplier)); } void QUmlUsageObject::removeSupplier(QObject *supplier) { - qmodelingobjectproperty_cast<QUmlUsage *>(this)->removeSupplier(qmodelingobjectproperty_cast<QUmlNamedElement *>(supplier)); + qmodelingelementproperty_cast<QUmlUsage *>(this)->removeSupplier(qmodelingelementproperty_cast<QUmlNamedElement *>(supplier)); +} + + +void QUmlUsageObject::setGroupProperties() +{ + Q_D(QModelingObject); + const QMetaObject *metaObject = this->metaObject(); + + d->propertyGroups << QStringLiteral("QObject"); + d->groupProperties.insert(QStringLiteral("QObject"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("objectName")))); + + d->propertyGroups << QStringLiteral("QUmlElement"); + d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedComments")))); + d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("ownedElements")))); + d->groupProperties.insert(QStringLiteral("QUmlElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owner")))); + + d->propertyGroups << QStringLiteral("QUmlParameterableElement"); + d->groupProperties.insert(QStringLiteral("QUmlParameterableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("owningTemplateParameter")))); + d->groupProperties.insert(QStringLiteral("QUmlParameterableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("templateParameter")))); + + d->propertyGroups << QStringLiteral("QUmlNamedElement"); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("clientDependencies")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("name")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("nameExpression")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("namespace_")))); + d->groupProperties.insert(QStringLiteral("QUmlNamedElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("qualifiedName")))); + + d->propertyGroups << QStringLiteral("QUmlPackageableElement"); + d->groupProperties.insert(QStringLiteral("QUmlPackageableElement"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("visibility")))); + + d->propertyGroups << QStringLiteral("QUmlRelationship"); + d->groupProperties.insert(QStringLiteral("QUmlRelationship"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("relatedElements")))); + + d->propertyGroups << QStringLiteral("QUmlDirectedRelationship"); + d->groupProperties.insert(QStringLiteral("QUmlDirectedRelationship"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("sources")))); + d->groupProperties.insert(QStringLiteral("QUmlDirectedRelationship"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("targets")))); + + d->propertyGroups << QStringLiteral("QUmlDependency"); + d->groupProperties.insert(QStringLiteral("QUmlDependency"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("clients")))); + d->groupProperties.insert(QStringLiteral("QUmlDependency"), new QMetaProperty(metaObject->property(metaObject->indexOfProperty("suppliers")))); + + d->propertyGroups << QStringLiteral("QUmlUsage"); +} + +void QUmlUsageObject::setPropertyData() +{ } QT_END_NAMESPACE |