aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlengine_p.h
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@digia.com>2013-09-14 14:41:18 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-20 14:26:20 +0200
commit269e29fdf36dd700d8c985dc7f11dbb5c8746c51 (patch)
treedde17b25e0111dcf3e6783f1ab07982a247b35e7 /src/qml/qml/qqmlengine_p.h
parentb4b4a646800fabbb31b4b261ea4b802d78d6501f (diff)
[new compiler] Add support for finalization callbacks
This is needed for Component.onCompleted (the signal emission) as well as the private finalization callback API in QQmlEngine, used by QtQuick. The creator - similar to the VME - tracks the attached properties object of QQmlComponent through a linked list. Change-Id: I8ada94009a7ce2078feefd359485657626c300fb Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlengine_p.h')
-rw-r--r--src/qml/qml/qqmlengine_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlengine_p.h b/src/qml/qml/qqmlengine_p.h
index b57c84ceae..c67e45a833 100644
--- a/src/qml/qml/qqmlengine_p.h
+++ b/src/qml/qml/qqmlengine_p.h
@@ -99,6 +99,7 @@ class QQmlCleanup;
class QQmlDelayedError;
class QQuickWorkerScriptEngine;
class QQmlVME;
+class QmlObjectCreator;
class QDir;
class QQmlIncubator;
@@ -166,7 +167,11 @@ public:
typedef QPair<QPointer<QObject>,int> FinalizeCallback;
void registerFinalizeCallback(QObject *obj, int index);
+ // --- old compiler:
QQmlVME *activeVME;
+ // --- new compiler:
+ QmlObjectCreator *activeObjectCreator;
+ // ---
QNetworkAccessManager *createNetworkAccessManager(QObject *parent) const;
QNetworkAccessManager *getNetworkAccessManager() const;