summaryrefslogtreecommitdiffstats
path: root/examples/declarative/extending/properties/example.qml
blob: 35abdd6066b7bdefd0662a68e420ba28f0460d88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import People 1.0

// ![0]
BirthdayParty {
    host: Person {
        name: "Bob Jones"
        shoeSize: 12
    }
    guests: [
        Person { name: "Leo Hodges" },
        Person { name: "Jack Smith" },
        Person { name: "Anne Brown" }
    ]
}
// ![0]