summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlengine_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-10-01 08:52:53 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-10-05 02:39:06 (GMT)
commit02a248c9c57714d4ad1ba775d9e60a7f286f10c6 (patch)
tree743fabc6335dcef88cbf8a4400a9181edba9293e /src/declarative/qml/qmlengine_p.h
parent361a605e9269f3072c1f5597a8db0622cf3b116b (diff)
downloadQt-02a248c9c57714d4ad1ba775d9e60a7f286f10c6.zip
Qt-02a248c9c57714d4ad1ba775d9e60a7f286f10c6.tar.gz
Qt-02a248c9c57714d4ad1ba775d9e60a7f286f10c6.tar.bz2
Prevent writes to the global object
Also add toString() method to qobjects
Diffstat (limited to 'src/declarative/qml/qmlengine_p.h')
-rw-r--r--src/declarative/qml/qmlengine_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine_p.h b/src/declarative/qml/qmlengine_p.h
index 764cc6c..231388d 100644
--- a/src/declarative/qml/qmlengine_p.h
+++ b/src/declarative/qml/qmlengine_p.h
@@ -151,6 +151,8 @@ public:
QmlObjectScriptClass *objectClass;
QmlValueTypeScriptClass *valueTypeClass;
QmlTypeNameScriptClass *typeNameClass;
+ // Global script class
+ QScriptClass *globalClass;
// Used by DOM Core 3 API
QScriptClass *nodeListClass;
QScriptClass *namedNodeMapClass;