Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / aliasWritesOverrideBindings.3.qml
1 import QtQuick 1.0
2
3 Item {
4     id: me
5     property bool test: false
6
7     property int value: 9
8
9     AliasBindingsOverrideTargetType {
10         id: aliasType
11         pointAliasProperty.x: 9
12     }
13
14     Component.onCompleted: {
15         if (aliasType.pointAliasProperty.x != 9) return;
16
17         aliasType.data = 8;
18         if (aliasType.pointAliasProperty.x != 9) return;
19
20         test = true;
21     }
22 }
23