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

List:       kde-edu-devel
Subject:    Re: [kde-edu]: no more QPtrLists!
From:       Carsten Niehaus <cniehaus () gmx ! de>
Date:       2005-05-31 21:25:23
Message-ID: 200505312325.28250.cniehaus () gmx ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Am Dienstag, 31. Mai 2005 23:05 schrieb Jason Harris:
> Ouch. =A0So, I'm supposed to use QValueLists instead; is that right? =A0A=
re
> they essentially a "drop in" replacement (other than the fact that they
> contain refs rather than pointers)?

In Qt4 you do it like this:

QList<Foo*> list;

instead of the Qt3-Way:

QPtrList<Foo> list;

Carsten

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-edu mailing list
kde-edu@mail.kde.org
https://mail.kde.org/mailman/listinfo/kde-edu


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

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