| branch | GCC_SURGE |
| changeset 31 | 5daf16870df6 |
| parent 30 | 5dc02b23752f |
| child 33 | 3e2da88830cd |
| 27:93b982ccede2 | 31:5daf16870df6 |
|---|---|
1 import Qt 4.7 |
|
2 |
|
3 QtObject { |
|
4 property bool test1: false; |
|
5 property bool test2: false; |
|
6 property bool test3: false; |
|
7 property bool test4: false; |
|
8 property bool test5: false; |
|
9 |
|
10 |
|
11 property int a: 7 |
|
12 property int b: 8 |
|
13 |
|
14 Component.onCompleted: { |
|
15 var b = 9; |
|
16 |
|
17 test1 = (eval("a") == 7); |
|
18 test2 = (eval("b") == 9); |
|
19 test3 = (eval("c") == undefined); |
|
20 test4 = (eval("console") == console); |
|
21 test5 = (eval("Qt") == Qt); |
|
22 } |
|
23 } |