summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/ScopeObject.qml
blob: fe0492f36614ed7a8b1cb564335b86e26f57f4f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
import Qt 4.7

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

    function myCompFunction() {
        return a;
    }
}