summaryrefslogtreecommitdiffstats
path: root/src/uml/qcomment.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/uml/qcomment.h')
-rw-r--r--src/uml/qcomment.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/uml/qcomment.h b/src/uml/qcomment.h
index c219766b..41cb4b09 100644
--- a/src/uml/qcomment.h
+++ b/src/uml/qcomment.h
@@ -52,7 +52,10 @@
QT_BEGIN_HEADER
-QT_BEGIN_NAMESPACE_QTUML
+QT_BEGIN_NAMESPACE
+
+namespace QtUml
+{
QT_MODULE(QtUml)
@@ -63,7 +66,7 @@ class Q_UML_EXPORT QComment : public QElement
Q_OBJECT
Q_PROPERTY(QString body READ body WRITE setBody)
- Q_PROPERTY(QSet<QElement *> annotatedElements READ annotatedElements)
+ Q_PROPERTY(QSet<QtUml::QElement *> annotatedElements READ annotatedElements)
Q_DISABLE_COPY(QComment)
Q_DECLARE_PRIVATE(QComment)
@@ -87,7 +90,9 @@ protected:
explicit QComment(QCommentPrivate &dd, QWrappedObject *wrapper = 0, QWrappedObject *parent = 0);
};
-QT_END_NAMESPACE_QTUML
+}
+
+QT_END_NAMESPACE
QT_END_HEADER