summaryrefslogtreecommitdiff
path: root/tests/auto/declarative/qdeclarativelanguage/data/readonly.qml
blob: 493a9ad502d0b656557eb7dd3913a8834c606ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import Test 1.0

MyQmlObject {
    property int testData: 9
    property alias testData2: myObject.test1

    readonly property int test1: 10
    readonly property int test2: testData + 9
    readonly property alias test3: myObject.test1


    property variant dummy: MyQmlObject {
        id: myObject
        property int test1: 13
    }
}