summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 02:13:04 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-05-11 02:13:04 (GMT)
commitb9f263eb1e5871ed724452e7454b8414e554ead6 (patch)
treece75abbd158d74f7152126ca9311ee268c370942 /src/declarative/qml/qmlcontext_p.h
parent5c69031b23f349d199ed43e484a608a2b691bb95 (diff)
downloadQt-b9f263eb1e5871ed724452e7454b8414e554ead6.zip
Qt-b9f263eb1e5871ed724452e7454b8414e554ead6.tar.gz
Qt-b9f263eb1e5871ed724452e7454b8414e554ead6.tar.bz2
Clean up QmlContext's and QmlExpression's when a context gets deleted
Diffstat (limited to 'src/declarative/qml/qmlcontext_p.h')
-rw-r--r--src/declarative/qml/qmlcontext_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcontext_p.h b/src/declarative/qml/qmlcontext_p.h
index 9faa7b7..c265474 100644
--- a/src/declarative/qml/qmlcontext_p.h
+++ b/src/declarative/qml/qmlcontext_p.h
@@ -47,6 +47,7 @@
#include <private/qmldeclarativedata_p.h>
#include <qhash.h>
#include <qscriptvalue.h>
+#include <QtCore/qset.h>
QT_BEGIN_NAMESPACE
class QmlContext;
@@ -87,6 +88,10 @@ public:
};
void addDefaultObject(QObject *, Priority);
+ void invalidateEngines();
+ QSet<QmlContext *> childContexts;
+ QSet<QmlExpression *> childExpressions;
+
QmlSimpleDeclarativeData contextData;
QObjectList contextObjects;
};