aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qqmllanguage/data/customParserBindingScopes.qml
blob: 2efc199f32756f356c6167ab7ca6025112ee3efc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import Test 1.0
import QtQml 2.0
QtObject {
    id: root

    property int otherProperty: 10

    property QtObject child: QtObject {
        id: child

        property int testProperty;
        property int otherProperty: 41

        property QtObject customBinder: CustomBinding {
            target: child
            testProperty: otherProperty + 1
        }
    }
}