summaryrefslogtreecommitdiffstats
path: root/src/uml/qvaluepin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qvaluepin.cpp')
-rw-r--r--src/uml/qvaluepin.cpp23
1 files changed, 14 insertions, 9 deletions
diff --git a/src/uml/qvaluepin.cpp b/src/uml/qvaluepin.cpp
index 77943b87..64f3b7df 100644
--- a/src/uml/qvaluepin.cpp
+++ b/src/uml/qvaluepin.cpp
@@ -46,7 +46,10 @@
#include <QtWrappedObjects/QtWrappedObjectsNamespace>
-QT_BEGIN_NAMESPACE_QTUML
+QT_BEGIN_NAMESPACE
+
+namespace QtUml
+{
QValuePinPrivate::QValuePinPrivate() :
value(0)
@@ -116,17 +119,19 @@ void QValuePin::setValue(QValueSpecification *value)
void QValuePin::setPropertyData()
{
- QWrappedObject::propertyDataHash[QString::fromLatin1("QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::AggregationRole] = QString::fromLatin1("composite");
- QWrappedObject::propertyDataHash[QString::fromLatin1("QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::IsDerivedUnionRole] = false;
- QWrappedObject::propertyDataHash[QString::fromLatin1("QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::DocumentationRole] = QString::fromLatin1("Value that the pin will provide.");
- QWrappedObject::propertyDataHash[QString::fromLatin1("QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::RedefinedPropertiesRole] = QString::fromLatin1("");
- QWrappedObject::propertyDataHash[QString::fromLatin1("QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::SubsettedPropertiesRole] = QString::fromLatin1("QElement::ownedElements");
- QWrappedObject::propertyDataHash[QString::fromLatin1("QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::OppositeEndRole] = QString::fromLatin1("");
+ QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::AggregationRole] = QString::fromLatin1("composite");
+ QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::IsDerivedUnionRole] = false;
+ QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::DocumentationRole] = QString::fromLatin1("Value that the pin will provide.");
+ QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::RedefinedPropertiesRole] = QString::fromLatin1("");
+ QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::SubsettedPropertiesRole] = QString::fromLatin1("QElement::ownedElements");
+ QWrappedObject::propertyDataHash[QString::fromLatin1("QtUml::QValuePin")][QString::fromLatin1("value")][QtWrappedObjects::OppositeEndRole] = QString::fromLatin1("");
QInputPin::setPropertyData();
}
-#include "moc_qvaluepin.cpp"
+}
+
+QT_END_NAMESPACE
-QT_END_NAMESPACE_QTUML
+#include "moc_qvaluepin.cpp"