18 lines
314 B
QML
18 lines
314 B
QML
|
pragma Strict
|
||
|
import TestTypes 1.0
|
||
|
|
||
|
CppBaseClass {
|
||
|
enum EE {
|
||
|
AA, BB, CC
|
||
|
}
|
||
|
|
||
|
property int foo: 1 + 2
|
||
|
property int ppp: 4
|
||
|
|
||
|
// constant, binding will be removed.
|
||
|
cppProp: 3 + 4
|
||
|
|
||
|
// An actual binding. Can't be removed because cppProp may be manually set.
|
||
|
cppProp2: cppProp * 2
|
||
|
}
|