Sign in
third-party-mirror
/
orbit
/
b80a455c0268d549edd5f71d1094a89297b72f72
/
.
/
qt-everywhere-src-5.14.1
/
qtdeclarative
/
tests
/
auto
/
qml
/
qqmlecmascript
/
data
/
getSet.qml
blob: 2987986b385bf7d77312366b957a445531945b2f [
file
] [
log
] [
blame
]
import
QtQuick
2.0
QtObject
{
function
get
(
x
)
{
return
1
;
}
function
set
(
x
)
{
return
1
;
}
function
code
()
{
var
get
=
0
;
var
set
=
1
;
var
o
=
{
get
foo
()
{
return
2
;
},
set
foo
(
x
)
{
1
;
}
}
}
}