Rename QDeclarative symbols to QQuick and QQml
[profile/ivi/qtdeclarative.git] / tests / auto / qml / qqmlecmascript / data / booleanConversion.qml
1 import QtQuick 2.0
2
3 QtObject {
4     id: root
5
6     property bool test_true1: false
7     property bool test_true2: false
8     property bool test_true3: false
9     property bool test_true4: false
10     property bool test_true5: false
11
12     property bool test_false1: true
13     property bool test_false2: true
14     property bool test_false3: true
15
16
17     Component.onCompleted: {
18         test_true1 = 11
19         test_true2 = "Hello"
20         test_true3 = root
21         test_true4 = { a: 10, b: 11 }
22         test_true5 = true
23
24         test_false1 = 0
25         test_false2 = null
26         test_false3 = false
27     }
28 }