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

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

    function myCompFunction() {
        return a;
    }
}