diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2009-06-09 05:16:16 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2009-06-09 05:16:16 (GMT) |
commit | 45ad5f8e643f8a1bd52143ad628e5418f5ae8fa3 (patch) | |
tree | 13e68872bcfb4e9ba02015b114e7efbf28991e87 /src/declarative/qml/qmlengine_p.h | |
parent | db4addcf3408140bb34fa8884c7192c1d9667be8 (diff) | |
download | Qt-45ad5f8e643f8a1bd52143ad628e5418f5ae8fa3.zip Qt-45ad5f8e643f8a1bd52143ad628e5418f5ae8fa3.tar.gz Qt-45ad5f8e643f8a1bd52143ad628e5418f5ae8fa3.tar.bz2 |
Can now dynamically delete objects as well.
The QtScript object wrapper now has a destroy function. This should work
for all QML objects. This commit also has some clean up in the dynamic
creation code, which still has a bug regarding path resolution.
Diffstat (limited to 'src/declarative/qml/qmlengine_p.h')
-rw-r--r-- | src/declarative/qml/qmlengine_p.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlengine_p.h b/src/declarative/qml/qmlengine_p.h index 89b0a4a..d7249e4 100644 --- a/src/declarative/qml/qmlengine_p.h +++ b/src/declarative/qml/qmlengine_p.h @@ -221,6 +221,9 @@ public: QmlObjectScriptClass(QmlEngine *); ~QmlObjectScriptClass(); + virtual QScriptValue prototype () const; + QScriptValue prototypeObject; + virtual QueryFlags queryProperty(const QScriptValue &object, const QScriptString &name, QueryFlags flags, uint *id); |