aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlobjectcreator_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-09-16 15:59:22 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 14:26:36 +0200
commitb26c950826e9ab4667e571af99b66baf704a6ef9 (patch)
treee0366b87cb365023044b0d607d12b4f198a3efcf /src/qml/qml/qqmlobjectcreator_p.h
parent896d63dc10f0ad99d314a3c99f24681feac8aebf (diff)
[new compiler] Implement setting object properties
This includes assigning to interface properties, variants that hold QObject pointers and regular QObject <> QObject assignments (assuming that they are compatible) Change-Id: Icd82c672e6899c6bfeb7f0ec758a81f8b70275ab Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator_p.h')
-rw-r--r--src/qml/qml/qqmlobjectcreator_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator_p.h b/src/qml/qml/qqmlobjectcreator_p.h
index c247fe22f6..f3ff6f6e08 100644
--- a/src/qml/qml/qqmlobjectcreator_p.h
+++ b/src/qml/qml/qqmlobjectcreator_p.h
@@ -94,7 +94,7 @@ public:
QList<QQmlEnginePrivate::FinalizeCallback> finalizeCallbacks;
private:
- void populateInstance(int index, QObject *instance, QQmlRefPointer<QQmlPropertyCache> cache);
+ bool populateInstance(int index, QObject *instance, QQmlRefPointer<QQmlPropertyCache> cache);
void setupBindings(QV4::ExecutionContext *qmlContext);
void setPropertyValue(QQmlPropertyData *property, const QV4::CompiledData::Binding *binding);