QML_RUNTIME_TESTING should be disabled by default.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / propertyVarCpp.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 Item {
5     id: testOwnership
6     property int intProperty: 10
7     property var varProperty: intProperty
8     property var varProperty2: false
9     property var varBound: varProperty + 5
10     property int intBound: varProperty + 5
11     property var jsobject: new vehicle(4)
12
13     function vehicle(wheels) {
14         this.wheels = wheels;
15     }
16 }
17