Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / propertyQJSValue.bindingreset.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 MyQmlObject {
5     id: root
6     property bool test: false
7
8     property bool doReset: false
9     qjsvalueWithReset: if (doReset) return undefined; else return 9
10
11     Component.onCompleted: {
12         if (qjsvalueWithReset != 9) return;
13         doReset = true
14
15         if (qjsvalueWithReset != "Reset!") return;
16
17         test = true;
18     }
19 }