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

QtObject {
    id: root
    property bool targetProperty: true

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

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

}