aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/alias.13.qml
blob: cff8a72d9acb15bf74b00b52c311a0bacc764232 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import QtQml 2.0

QtObject {
    id: root
    property bool targetProperty: true

    property QtObject foo: QtObject {
        id: otherSubObject
        property alias theAlias: root.targetProperty
    }

    property QtObject referencingSubObject: QtObject {
        property alias success: otherSubObject.theAlias
    }

}