summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcontext_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-03 00:14:54 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-03 00:14:54 (GMT)
commitb9c834048d6dc6e04567c1c73212ecb1b9c96664 (patch)
tree223b1d3d101883dabadadbf68b020808de56399e /src/declarative/qml/qmlcontext_p.h
parentdc26066be54bed3d508b460db1cc8d8b4b68cc1f (diff)
downloadQt-b9c834048d6dc6e04567c1c73212ecb1b9c96664.zip
Qt-b9c834048d6dc6e04567c1c73212ecb1b9c96664.tar.gz
Qt-b9c834048d6dc6e04567c1c73212ecb1b9c96664.tar.bz2
Add QML enum support
Enums are accessed as <Type Name>.<Enum value name> Currently this is highly unoptimal - enum assignments are not detected in the compiler, nor are they cached in the script engine.
Diffstat (limited to 'src/declarative/qml/qmlcontext_p.h')
-rw-r--r--src/declarative/qml/qmlcontext_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcontext_p.h b/src/declarative/qml/qmlcontext_p.h
index 84d990c..b305408 100644
--- a/src/declarative/qml/qmlcontext_p.h
+++ b/src/declarative/qml/qmlcontext_p.h
@@ -60,6 +60,7 @@
#include <QtScript/qscriptvalue.h>
#include <QtCore/qset.h>
#include <private/qguard_p.h>
+#include <private/qmlengine_p.h>
QT_BEGIN_NAMESPACE
@@ -91,6 +92,7 @@ public:
QScriptValueList scopeChain;
QUrl url;
+ QmlEnginePrivate::Imports imports;
void init();