summaryrefslogtreecommitdiffstats
path: root/scripts/templates/modulenamespace.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-08-23 19:01:47 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-08-24 00:05:10 +0200
commita0a9212f0e2e9cdd28f56d0d43c1b967e1d01c65 (patch)
tree3e47ef1a08a1c07bfcf105d9714997870cadfa87 /scripts/templates/modulenamespace.cpp
parentcac2d532793a8ea2c871fdfca0c122fa4e605d1f (diff)
Add attribute initialization from default values described in xmi
Change-Id: Icdfee9149e0120abdee1c9aac8a6b6d27e86701b 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 3cb601e5..85d958f0 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$")}${literal.findvalue("@name").ucfirst} ${literal.findvalue("ownedComment/body/text()")}
+ \value ${enumerationName.remove("Kind$").remove("Sort$")}${literal.findvalue("@name").ucfirst} ${literal.findvalue("ownedComment/body/text()")}
[% END -%]
*/
[% END -%]