summaryrefslogtreecommitdiffstats
path: root/scripts/templates/qclass.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/templates/qclass.cpp')
-rw-r--r--scripts/templates/qclass.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/templates/qclass.cpp b/scripts/templates/qclass.cpp
index cce4513c..8e755719 100644
--- a/scripts/templates/qclass.cpp
+++ b/scripts/templates/qclass.cpp
@@ -153,8 +153,7 @@ Q${namespace}${className}::~Q${namespace}${className}()
${documentation}
*/
[%- END %]
-[% IF qtType.match("QList|QSet") %]const [% END %]${qtType}
-Q${namespace}${className}::${qtAttribute}() const
+[% IF qtType.match("QList|QSet") %]const [% END %]${qtType}Q${namespace}${className}::${qtAttribute}() const
{
// This is a [% IF readOnly == "" || readOnly == "false" %]read-write[% ELSE %]read-only[% END %][% IF derived == "true" %] derived[% END %][% IF derivedUnion == "true" %] union[% END %] [% IF association != "" %]association end[% ELSE %]property[% END %]