Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / qobjectDerivedArgument.qml
1 import QtQuick 2.0
2 import Qt.test 1.0
3
4 MyQmlObject {
5     id: root
6     stringProperty: 'hello'
7     property var child
8
9     property bool result: false
10
11     Component.onCompleted: {
12         child = invokable.createMyQmlObject('goodbye');
13
14         result = (invokable.getStringProperty(root) == 'hello') &&
15                  (invokable.getStringProperty(child) == 'goodbye');
16     }
17 }