summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlcomponent.h
diff options
context:
space:
mode:
authorAlan Alpert <alan.alpert@nokia.com>2009-06-09 05:16:16 (GMT)
committerAlan Alpert <alan.alpert@nokia.com>2009-06-09 05:16:16 (GMT)
commit45ad5f8e643f8a1bd52143ad628e5418f5ae8fa3 (patch)
tree13e68872bcfb4e9ba02015b114e7efbf28991e87 /src/declarative/qml/qmlcomponent.h
parentdb4addcf3408140bb34fa8884c7192c1d9667be8 (diff)
downloadQt-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/qmlcomponent.h')
-rw-r--r--src/declarative/qml/qmlcomponent.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlcomponent.h b/src/declarative/qml/qmlcomponent.h
index bb76c8b..fe0c422 100644
--- a/src/declarative/qml/qmlcomponent.h
+++ b/src/declarative/qml/qmlcomponent.h
@@ -104,6 +104,7 @@ private:
friend class QmlVME;
friend struct QmlCompositeTypeData;
};
+Q_DECLARE_METATYPE(QmlComponent::Status);
QML_DECLARE_TYPE(QmlComponent)
QT_END_NAMESPACE