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

Item {
    Script {
        function method() {
            return 10;
        }
    }

    Script {
        source: "scriptAccess.js"
    }

    property int test1: method()
    property int test2: extMethod()
    property int test3: extVariable
}