1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
module Example.If.AddressBookModule 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]