aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/Test.qml
blob: d7263a2bff3f8f6dbcef0f20304cbe7822d474eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
}