aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmlproperty/data/interfaceBinding.qml
blob: 4e72a75f4265f2a6d42b6e7f3224b69d248b7233 (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 QtQuick 2.12
import io.qt.bugreports 1.0
Item {
    InterfaceConsumer {
        objectName: "a1"
        i: A {
            property int i: 42
        }
    }

    InterfaceConsumer {
        objectName: "a2"
        property A a: A {
            property int i: 43
        }
        i: a
    }

    InterfaceConsumer {
        objectName: "a3"
        property A a: A {
            id : aa
            property int i: 44
        }
        i: aa
    }
}