Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativevaluetypes / data / bindingsSpliceCorrectly.5.qml
1 import Test 1.0
2 import QtQuick 1.0
3
4 BindingsSpliceCorrectlyType5 {
5     property bool test: false
6
7     property int dataProperty2: 8
8
9     point: Qt.point(dataProperty2, dataProperty2);
10
11     Component.onCompleted: {
12         if (point.x != 8) return;
13         if (point.y != 8) return;
14
15         dataProperty = 9;
16
17         if (point.x != 8) return;
18         if (point.y != 8) return;
19
20         dataProperty2 = 13;
21
22         if (point.x != 13) return;
23         if (point.y != 13) return;
24
25         test = true;
26     }
27 }