Initial import from the monolithic Qt.
[profile/ivi/qtdeclarative.git] / tests / auto / declarative / qdeclarativeecmascript / data / compiled.qml
1 import QtQuick 1.0
2
3 QtObject {
4     //real
5     property real test1: a + b
6     property real test2: a - b
7     property bool test3: (a < b)
8     property bool test4: (a > b)
9     property bool test5: (a == b)
10     property bool test6: (a != b)
11
12     //int
13     property int test7: c + d
14     property int test8: d - c
15     property bool test9: (c < d)
16     property bool test10: (c > d)
17     property bool test11: (c == d)
18     property bool test12: (c != d)
19
20     //string
21     property string test13: e + f
22     property string test14: e + " " + f
23     property bool test15: (e == f)
24     property bool test16: (e != f)
25
26     //type conversion
27     property int test17: a
28     property real test18: d
29     property int test19: g
30     property real test20: g
31     property string test21: g
32     property string test22: h
33     property bool test23: i
34     property color test24: j
35     property color test25: k
36
37     property real a: 4.5
38     property real b: 11.2
39     property int c: 9
40     property int d: 176
41     property string e: "Hello"
42     property string f: "World"
43     property variant g: 6.7
44     property variant h: "!"
45     property variant i: true
46     property string j: "#112233"
47     property string k: "#aa112233"
48 }