summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/scriptErrors.qml
blob: f601f497eeee37eb3f755c0c165a4e414f4fe2ee (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: undefined
    property int y: (a.value, undefinedObject)

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