> And for a perhaps more useful answer, add a destructor for KgpgListKeys
> that iterates over its keys and deletes them. You might not be able to use
> foreach() since the dtor will be iterating over itself but something like
> this would work:


The inherited destructor will be called at the end of the destructor, thus the
inherited QList is pretty valid in the destructor.

Cheers Sascha

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<