aboutsummaryrefslogtreecommitdiffstats
path: root/examples/ivicore/qface-ivi-addressbook/example-ivi-addressbook.qface
blob: 5ef26d68b9258d7299f5072c339cc8a473ead2b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
module Example.IVI.AddressBook 1.0;

@config: { qml_type: "UiAddressBook" }
//! [0]
interface AddressBook {
    model<Contact> contacts;

    void insertContact(int index, Contact contact);
}

struct Contact {
    string forename;
    string name;
    int phone;
}
//! [0]