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