aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/prefixedMetaType.qml
blob: 36bb649412d35f1ad15b976849d21d91277f74f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
pragma Strict

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
    }
}