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.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.h')
-rw-r--r-- | src/declarative/qml/qmlengine.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/declarative/qml/qmlengine.h b/src/declarative/qml/qmlengine.h index ca66097..f114379 100644 --- a/src/declarative/qml/qmlengine.h +++ b/src/declarative/qml/qmlengine.h @@ -90,7 +90,6 @@ public: static QScriptValue qmlScriptObject(QObject*, QmlEngine*); - // Below two functions provide a way to dynamically create objects from JS static QScriptValue createComponent(QScriptContext*, QScriptEngine*); static QScriptValue createQMLObject(QScriptContext*, QScriptEngine*); |