aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/idVsMember.qml
blob: 7629d9722749483e85d3a7c1e382ba08e2ad54cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
import QtQuick
import QtQuick.Controls

Control {
    anchors.fill: parent
    objectName: contentItem.text

    MyObject {
        id: my
        foo: foo
    }

    property Item myprop: Item {
        objectName: "blub"
        id: foo
    }

    contentItem: Text {
        text: my.foo + ""
    }
}