aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/inlineComponentsSameFile.qml
blob: 87cac10200c922b185cf84443755686c1ed95025 (plain)
1
2
3
4
5
6
7
8
9
10
11
import QtQml 2.15

QtObject {
    component IC : QtObject {
        property string name
        property int age
    }

    property IC other: IC { name: "Toby"; age: 30 }
    property list<IC> listProp: [IC { name: "Alfred Ill"; age: 65 }, IC { name: "Claire Zachanassian"; age: 62}]
}