projects
/
profile
/
ivi
/
qtdeclarative.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Use V4 binding for non-final properties where possible
[profile/ivi/qtdeclarative.git]
/
tests
/
auto
/
qml
/
qqmlecmascript
/
data
/
propertyQJSValue.13.qml
1
import QtQuick 2.0
2
import Qt.test 1.0
3
4
Item {
5
property bool test: false
6
property var f: b + 12
7
property int a: 100
8
property int b: testFunction()
9
10
function testFunction() {
11
return a * 3;
12
}
13
14
Component.onCompleted: {
15
if (f != 312) return;
16
a = 120;
17
if (f != 372) return;
18
test = true;
19
}
20
}