Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / sharedAttachedObject.qml
1 import Qt.test 1.0
2 import QtQuick 1.0
3
4 MyQmlObject {
5     id: root
6     property bool test1: false
7     property bool test2: false
8
9     MyQmlObject.value2: 7
10
11     Component.onCompleted: {
12         test1 = root.MyQmlObject.value2 == 7;
13         test2 = root.MyQmlObjectAlias.value2 == 7;
14     }
15 }
16