forked from qt-creator/qt-creator
Change-Id: Ic3aca50bec93ec3b810dbda2f9b57eefb966bbdf Reviewed-by: Roberto Raggi <roberto.raggi@nokia.com>
27 lines
378 B
QML
27 lines
378 B
QML
import Qt 4.7
|
|
|
|
Rectangle {
|
|
function foo() {
|
|
a // 127 9 9
|
|
a + b // 127 9 13
|
|
a()
|
|
delete b
|
|
a = 12
|
|
a += 12
|
|
d().foo // 127 9 15
|
|
}
|
|
x: a + b
|
|
y: { a + b }
|
|
z: if (a)
|
|
b
|
|
else
|
|
c
|
|
width: {
|
|
function foo() {
|
|
a // 127 13 13
|
|
}
|
|
foo()
|
|
a
|
|
}
|
|
}
|