aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlcontextwrapper_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2014-12-11 12:24:52 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-12-20 12:00:26 +0100
commit2fe06148f237d7a12a3c034cdfc3a6b923ea1df6 (patch)
tree62c6c90abb748b9e48ca6e3cdb01c3f0962f2f9e /src/qml/qml/qqmlcontextwrapper_p.h
parent234e933b1527510bc487435a9e46c4338d7b9701 (diff)
Store a pointer to a heap object in the context wrapper
Change-Id: I2555e3e78e429260129d83894ca94d158c5e1704 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlcontextwrapper_p.h')
-rw-r--r--src/qml/qml/qqmlcontextwrapper_p.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlcontextwrapper_p.h b/src/qml/qml/qqmlcontextwrapper_p.h
index 37283349d4..9dee1ef878 100644
--- a/src/qml/qml/qqmlcontextwrapper_p.h
+++ b/src/qml/qml/qqmlcontextwrapper_p.h
@@ -61,11 +61,12 @@ namespace CompiledData {
struct Function;
}
-struct QQmlIdObjectsArray;
struct QmlContextWrapper;
namespace Heap {
+struct QQmlIdObjectsArray;
+
struct QmlContextWrapper : Object {
QmlContextWrapper(QV8Engine *engine, QQmlContextData *context, QObject *scopeObject, bool ownsContext = false);
~QmlContextWrapper();