Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / aliasBindingsOverrideTarget.3.qml
1 import QtQuick 1.0
2
3 Item {
4     id: root
5     property bool test: false;
6
7     property int value1: 10
8     property int value2: 11
9
10     AliasBindingsOverrideTargetType3 {
11         id: obj
12
13         testProperty: root.value1 * 9
14         aliasProperty: root.value2 * 10 
15     }
16
17     Component.onCompleted: {
18         if (obj.testProperty != 110) return;
19         if (obj.aliasProperty != 110) return;
20
21         test = true;
22     }
23 }
24