diff options
Diffstat (limited to 'src/uml/qnode.cpp')
-rw-r--r-- | src/uml/qnode.cpp | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/src/uml/qnode.cpp b/src/uml/qnode.cpp index 0d57530a..8afb195f 100644 --- a/src/uml/qnode.cpp +++ b/src/uml/qnode.cpp @@ -44,7 +44,10 @@ #include <QtWrappedObjects/QtWrappedObjectsNamespace> -QT_BEGIN_NAMESPACE_QTUML +QT_BEGIN_NAMESPACE + +namespace QtUml +{ QNodePrivate::QNodePrivate() { @@ -140,12 +143,12 @@ void QNode::setName(QString name) /*! Determines where the NamedElement appears within different Namespaces within the overall model, and its accessibility. */ -QtUml::VisibilityKind QNode::visibility() const +QtUmlNS::VisibilityKind QNode::visibility() const { return (qwrappedobject_cast<const QNamedElement *>(this))->visibility(); } -void QNode::setVisibility(QtUml::VisibilityKind visibility) +void QNode::setVisibility(QtUmlNS::VisibilityKind visibility) { (qwrappedobject_cast<QNamedElement *>(this))->setVisibility(visibility); } @@ -274,17 +277,19 @@ void QNode::removeNestedNode(QNode *nestedNode) void QNode::setPropertyData() { - QWrappedObject::propertyDataHash[QString::fromLatin1("QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::AggregationRole] = QString::fromLatin1("composite"); - QWrappedObject::propertyDataHash[QString::fromLatin1("QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::IsDerivedUnionRole] = false; - QWrappedObject::propertyDataHash[QString::fromLatin1("QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::DocumentationRole] = QString::fromLatin1("The Nodes that are defined (nested) within the Node."); - QWrappedObject::propertyDataHash[QString::fromLatin1("QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::RedefinedPropertiesRole] = QString::fromLatin1(""); - QWrappedObject::propertyDataHash[QString::fromLatin1("QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::SubsettedPropertiesRole] = QString::fromLatin1("QNamespace::ownedMembers"); - QWrappedObject::propertyDataHash[QString::fromLatin1("QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::OppositeEndRole] = QString::fromLatin1(""); + QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::AggregationRole] = QString::fromLatin1("composite"); + QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::IsDerivedUnionRole] = false; + QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::DocumentationRole] = QString::fromLatin1("The Nodes that are defined (nested) within the Node."); + QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::RedefinedPropertiesRole] = QString::fromLatin1(""); + QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::SubsettedPropertiesRole] = QString::fromLatin1("QNamespace::ownedMembers"); + QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QNode")][QString::fromLatin1("nestedNodes")][QtWrappedObjects::OppositeEndRole] = QString::fromLatin1(""); QWrappedObject::setPropertyData(); } -#include "moc_qnode.cpp" +} + +QT_END_NAMESPACE -QT_END_NAMESPACE_QTUML +#include "moc_qnode.cpp" |