Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / dynamicDeletion.2.qml
1 import QtQuick 2.0
2
3 QtObject {
4     id: root
5
6     property QtObject objectProperty
7
8     property Component c: Component {
9         id: componentObject
10         QtObject {
11         }
12     }
13
14     function create() {
15         objectProperty = c.createObject(root);
16     }
17     
18     function destroy() {
19         objectProperty.destroy();
20     }
21 }