summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlecmascript/data/ScopeObject.qml
blob: b7bec635697a8b538899ffae4ab609e69ef5e543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import Qt 4.6

Item {
    property int a: 3
    property int binding: myFunction();
    property int binding2: myCompFunction();

    Script {
        function myCompFunction() {
            return a;
        }
    }
}