Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / signalTriggeredBindings.qml
1 import Qt.test 1.0
2 import QtQuick 1.0
3
4 MyQmlObject {
5     property real base: 50
6     property alias test1: myObject.test1
7     property alias test2: myObject.test2
8
9     objectProperty: QtObject {
10         id: myObject
11         property real test1: base
12         property real test2: Math.max(0, base)
13     }
14         
15     // Signal with no args
16     onBasicSignal: base = 200
17     // Signal with args
18     onArgumentSignal: base = 400
19 }
20