projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qml
/
qqmlecmascript
/
data
/
onDestruction.qml
1
import QtQuick 2.0
2
3
Item {
4
id: root
5
6
property Component comp: OnDestructionComponent {
7
property int b: 50
8
onParentChanged: b += a
9
}
10
11
property Item compInstance
12
13
Component.onCompleted: {
14
compInstance = comp.createObject(root);
15
compInstance.destroy();
16
}
17
}
18