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

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

    function myCompFunction() {
        return a;
    }
}