aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlvaluetypes/data/bindingsSpliceCorrectly.4.qml
blob: 9c5e950660defd8848353646efca0017292e613b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import Test 1.0
import QtQuick 2.0

BindingsSpliceCorrectlyType4 {
    property bool test: false

    property int dataProperty2: 8

    point.x: dataProperty2

    Component.onCompleted: {
        if (point.x != 8) return;
        if (point.y != 4) return;

        dataProperty = 9;

        if (point.x != 8) return;
        if (point.y != 4) return;

        dataProperty2 = 13;

        if (point.x != 13) return;
        if (point.y != 4) return;

        test = true;
    }
}