aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/childobject.qml
blob: 3775ee16bcfad2a9da7e8a5c008ba26e5529eff6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import QtQml
import TestTypes

QtObject {
    property ObjectWithMethod child: ObjectWithMethod {
        objectName: "kraut"
    }
    objectName: child.objectName
    property int doneThing: child.doThing()
    property int usingFinal: child.fff

    function setChildObjectName(name: string) {
        child.objectName = name
    }
}