--===============0061637608==
Content-Type: multipart/signed;
boundary="nextPart3400357.8c9LHhPz11";
protocol="application/pgp-signature";
micalg=pgp-sha1
Content-Transfer-Encoding: 7bit

--nextPart3400357.8c9LHhPz11
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

Michael Pyne wrote:
>On Friday 21 October 2005 11:42, Ivor Hewitt wrote:
>> On Wednesday 19 October 2005 16:43, Jimmy Gilles wrote:
>> > It works very well but my problem is that when "list" is deleted,
>> > keys that are in this list are not deleted. Why ?
>> > I use QPointer to automaticaly delete keys but it doesn't work.

>>
>> Destroying a QPointer does not destroy the object it points to.

>
>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:


Or simply call qDeleteAll.

=2D-=20
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358

1. On frumscafte, hwonne time_t w=E6s n=E1ht, se scieppend =FEone circolwyr=
de=20
wundorcr=E6ftl=EDge cennede and seo eor=F0e w=E6s idel and hit w=E6s g=F3d.

--nextPart3400357.8c9LHhPz11
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)

iD8DBQBDWW9dM/XwBW70U1gRAo35AJ9ofp0JkYEsko41UuploYcDjkgYngCeKjwH
e3pwWqh7nUQCtw+Q/UQGqnU=
=BTGQ
-----END PGP SIGNATURE-----

--nextPart3400357.8c9LHhPz11--

--===============0061637608==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


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


--===============0061637608==--