summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qdeclarativeecmascript/data/strictlyEquals.qml
blob: b9e455d501491c94ffedef669183f7aa849c6b48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Qt 4.6

QtObject {
    property bool test1: (a === true)
    property bool test2: !(a === false)
    property bool test3: (b === 11.2)
    property bool test4: !(b === 9)
    property bool test5: (c === 9)
    property bool test6: !(c === 13)
    property bool test7: (d === "Hello world")
    property bool test8: !(d === "Hi")

    property bool a: true
    property real b: 11.2
    property int c: 9
    property string d: "Hello world"
}