summaryrefslogtreecommitdiffstats
path: root/tests/auto/declarative/qmlecmascript/data/objectsCompareAsEqual.qml
blob: 252657640b1ff81dc16c65718d152a90569def53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import Qt 4.6

Item {
    id: Root

    property var item: Child
    Item { id: Child }

    property bool test1: Child == Child
    property bool test2: Child.parent == Root
    property bool test3: Root != Child
    property bool test4: item == Child
    property bool test5: item != Root
}