aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/arrayCtor.qml
blob: 9886a14cb15a2366fef9fb45c71ee8b82b18bea3 (plain)
1
2
3
4
5
6
7
8
9
10
11
pragma Strict
import QML

QtObject {
    property list<int> defaultCtor: new Array()
    property list<int> oneArgCtor: new Array(5)
    property list<int> multiArgCtor: new Array(2, 3, 3, 4)
    property list<bool> arrayTrue: new Array(true)
    property list<bool> arrayFalse: new Array(false)
    property list<real> arrayNegative: new Array(-14)
}