summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scriptErrors.qml
blob: e8f7b6262b6644416e65a4c8579ab5161a078bbe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt.test 1.0
import "scriptErrors.js" as Script

MyQmlObject {
    property int t: a.value
    property int w: Script.getValue();
    property int x: undefinedObject
    property int y: (a.value, undefinedObject)

    onBasicSignal: { console.log(a.value); }
    id: myObj
    onAnotherBasicSignal: myObj.trueProperty = false;
    onThirdBasicSignal: myObj.fakeProperty = "";
}