tests/auto/declarative/qdeclarativeecmascript/data/objectsCompareAsEqual.qml
branchGCC_SURGE
changeset 31 5daf16870df6
parent 30 5dc02b23752f
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
       
     1 import Qt 4.7
       
     2 
       
     3 Item {
       
     4     id: root
       
     5 
       
     6     property variant item: child
       
     7     Item { id: child }
       
     8 
       
     9     property bool test1: child == child
       
    10     property bool test2: child.parent == root
       
    11     property bool test3: root != child
       
    12     property bool test4: item == child
       
    13     property bool test5: item != root
       
    14 }
       
    15