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
.
Port the client code you wrote for the exercise to
use the new versions of Contact
and ContactList
.
[ fromfile: qobject.xml id: None ]
Generated: 2012-03-02 | © 2012 Alan Ezust and Paul Ezust. |