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

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