aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativevaluetypes/data/bindingsSpliceCorrectly.5.qml
blob: 7d87ba1782dde7865cbc641a332d257c4d8b1785 (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

BindingsSpliceCorrectlyType5 {
    property bool test: false

    property int dataProperty2: 8

    point: Qt.point(dataProperty2, dataProperty2);

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

        dataProperty = 9;

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

        dataProperty2 = 13;

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

        test = true;
    }
}