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
/
switchStatement.6.qml
1
import Qt.test 1.0
2
3
MyQmlObject {
4
function one(kind) { return 123 }
5
function two(kind) { return 321 }
6
7
value: switch (stringProperty) {
8
case "A": case "S": one(stringProperty); break;
9
case "D": case "F": two(stringProperty); break;
10
default: 0
11
}
12
}
13