8.8. Exercises: QObject, QApplication, Signals, and Slots

  1. Rewrite the Contact and ContactList from Section 4.4 so that they both derive from QObject.

    When a Contact is to be added to a ContactList, make the Contact the child of the ContactList.

  2. Port the client code you wrote for the exercise to use the new versions of Contact and ContactList.

[ fromfile: qobject.xml id: None ]