diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-01 08:52:53 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-05 02:39:06 (GMT) |
commit | 02a248c9c57714d4ad1ba775d9e60a7f286f10c6 (patch) | |
tree | 743fabc6335dcef88cbf8a4400a9181edba9293e /src/declarative/qml/qmlengine_p.h | |
parent | 361a605e9269f3072c1f5597a8db0622cf3b116b (diff) | |
download | Qt-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.h | 2 |
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; |