summaryrefslogtreecommitdiffstats
path: root/src/uml/qumlobjectnode.h
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-08-27 12:01:42 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-08-27 17:12:52 +0200
commit53b5fa7c58cc496b34679f51e6fcedfaa5f5d448 (patch)
treea131696409baa9a6a14294c5d22e4c9cb7eab7cd /src/uml/qumlobjectnode.h
parentbc5342512ed3605bbd1953eaf395fe137ca239f0 (diff)
Fix return value for QList/QSet properties
Add initialization of QObject properties from XMI-declared default values Change-Id: I1a5c097463aa492b121991cf6e569b38222cfdda Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'src/uml/qumlobjectnode.h')
-rw-r--r--src/uml/qumlobjectnode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uml/qumlobjectnode.h b/src/uml/qumlobjectnode.h
index 1bcdc69e..3a8f4280 100644
--- a/src/uml/qumlobjectnode.h
+++ b/src/uml/qumlobjectnode.h
@@ -63,7 +63,7 @@ public:
Q_DECL_HIDDEN QUmlObjectNode();
// Owned attributes
- QSet<QUmlState *> inState() const;
+ const QSet<QUmlState *> inState() const;
void addInState(QUmlState *inState);
void removeInState(QUmlState *inState);
bool isControlType() const;