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

Item {
    id: root

    property variant 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
}