aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/boolCoercions.qml
blob: 6b8ebb3f386c6cfb619534844f41d7fefa056e77 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
pragma Strict
import QtQml

QtObject {
    property rect a
    property bool t1: a

    property int c: 1
    property bool t2: c

    property url e: "qrc:/ab/c.txt"
    property bool t3: e

    property string f: "a"
    property bool t4: f

    property var j: 1
    property bool t5: j

    id: k
    property bool t6: k

    property date l
    property bool t7: l

    property url m
    property bool t8: m



    property int b: 0
    property bool f1: b

    property QtObject d: null
    property bool f2: d

    property string g
    property bool f3: g

    property var h: undefined
    property bool f4: h

    property var i: null
    property bool f5: i
}