Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / sequenceConversion.bindings.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 Item {
5     id: root
6     objectName: "root"
7
8     MySequenceConversionObject {
9         id: msco
10         objectName: "msco"
11         intListProperty: [ 1, 2, 3, 6, 7 ]
12     }
13
14     MySequenceConversionObject {
15         id: mscoTwo
16         objectName: "mscoTwo"
17         intListProperty: msco.intListProperty
18     }
19
20     property variant boundSequence: msco.intListProperty
21     property int boundElement: msco.intListProperty[3]
22     property variant boundSequenceTwo: mscoTwo.intListProperty
23
24     Component.onCompleted: {
25         msco.intListProperty[3] = 12;
26         mscoTwo.intListProperty[4] = 14;
27     }
28 }