aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/qml/qmlcppcodegen/data/listConversion.qml
blob: ca86d9a1d66bd13915e479df7842e41d3cccfb24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
pragma Strict
import QtQml
import TestTypes

BirthdayParty {
    id: self

    guests: [
        Person { name: "Horst 1" },
        Person { name: "Horst 2" },
        Person { name: "Horst 3" }
    ]

    property list<QtObject> o: self.guests
    property list<string> s: self.guestNames
    property list<var> v: self.stuffs
}