summaryrefslogtreecommitdiffstats
path: root/scripts/templates/qclass.cpp
diff options
context:
space:
mode:
authorSandro S. Andrade <sandroandrade@kde.org>2013-10-09 17:43:56 -0300
committerSandro S. Andrade <sandroandrade@kde.org>2013-10-09 22:47:33 +0200
commit01ae27fe58be35914b0c4f573782f90242a9bfd9 (patch)
tree938a4bc3a443ba264b6f61fc4bf9a442eefbfd47 /scripts/templates/qclass.cpp
parentd0b8e11b2781826d692932952abe6e71a4118778 (diff)
Initial refactoring of QModelingObjectPropertyModel
Change-Id: I00fc9292e1f29b5e7536540e7ad9e5db4039029d Reviewed-by: Sandro S. Andrade <sandroandrade@kde.org>
Diffstat (limited to 'scripts/templates/qclass.cpp')
-rw-r--r--scripts/templates/qclass.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/templates/qclass.cpp b/scripts/templates/qclass.cpp
index 629d8f95..8e07522f 100644
--- a/scripts/templates/qclass.cpp
+++ b/scripts/templates/qclass.cpp
@@ -406,6 +406,7 @@ ${parameter.findvalue("@name")}
void Q${namespace}${className}::setClassForProperty()
{
+ _classForProperty[QStringLiteral("objectName")] = QStringLiteral("QObject");
[%- visitedClasses = [] -%]
[%- SET_CLASS_FOR_PROPERTY(class, visitedClasses, redefinedProperties) %]
}