summaryrefslogtreecommitdiffstats
path: root/scripts/templates/modulenamespace.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-08-26 20:37:03 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-08-27 01:43:50 +0200
commitbc5342512ed3605bbd1953eaf395fe137ca239f0 (patch)
treefd88531fde61ba7c0e0695ba860589b28ce57ebe /scripts/templates/modulenamespace.cpp
parentec14050b84782321d2a3a6254aa488e7c716cad9 (diff)
Add initial support for QObject export of QModelingObjects
Still needs initialization from XMI-defined default values Change-Id: Iac8d90155f4f7bb8d092d81bc3a610efb7c58979 Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'scripts/templates/modulenamespace.cpp')
-rw-r--r--scripts/templates/modulenamespace.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/templates/modulenamespace.cpp b/scripts/templates/modulenamespace.cpp
index 85d958f0..afb68592 100644
--- a/scripts/templates/modulenamespace.cpp
+++ b/scripts/templates/modulenamespace.cpp
@@ -52,7 +52,7 @@ QT_BEGIN_NAMESPACE
${enumeration.findvalue("ownedComment/body/text()")}
[%- FOREACH literal IN enumeration.findnodes("ownedLiteral") %]
- \value ${enumerationName.remove("Kind$").remove("Sort$")}${literal.findvalue("@name").ucfirst} ${literal.findvalue("ownedComment/body/text()")}
+ \value ${enumerationName}${literal.findvalue("@name").ucfirst} ${literal.findvalue("ownedComment/body/text()")}
[% END -%]
*/
[% END -%]