aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/prefixedMetaType.qml
blob: 0039d7a4c73a913ce64f885043dd4b4f5c398bb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import QtQml
import TestTypes as Test

QtObject {
    id: self
    property int state
    property QtObject a: Test.WindowInstance {}
    property QtObject b: a as Test.WindowInstance
    property QtObject c: self as Test.WindowInstance

    property QtObject d: Test.WindowDerived {}
    property QtObject e: d as Test.WindowDerived
    property QtObject f: self as Test.WindowDerived

    Component.onCompleted: {
        self.state = Test.WindowState.UNCALIBRATED
    }
}