[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problem with QT
From:       Sascha Cunz <sascha.cunz () tiscali ! de>
Date:       2005-10-22 6:30:37
Message-ID: 200510220830.37259.sascha.cunz () tiscali ! de
[Download RAW message or body]


> 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 <<
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic