| branch | GCC_SURGE |
| changeset 31 | 5daf16870df6 |
| parent 30 | 5dc02b23752f |
| 27:93b982ccede2 | 31:5daf16870df6 |
|---|---|
1 import Qt 4.7 |
|
2 import Qt.test 1.0 |
|
3 |
|
4 QtObject { |
|
5 property variant obj |
|
6 obj: MyQmlObject { |
|
7 id: myObject |
|
8 value: 92 |
|
9 } |
|
10 |
|
11 property bool test1: false |
|
12 property bool test2: false |
|
13 property bool test3: false |
|
14 property bool test4: false |
|
15 |
|
16 Component.onCompleted: { |
|
17 test1 = myObject.value == 92; |
|
18 test2 = obj.value == 92; |
|
19 |
|
20 myObject.deleteOnSet = 1; |
|
21 |
|
22 test3 = myObject == null |
|
23 test4 = obj == null |
|
24 } |
|
25 } |