[kde-edu]: no more QPtrLists!
Carsten Niehaus
cniehaus at gmx.de
Tue May 31 23:25:23 CEST 2005
Am Dienstag, 31. Mai 2005 23:05 schrieb Jason Harris:
> Ouch. So, I'm supposed to use QValueLists instead; is that right? Are
> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-edu/attachments/20050531/dcbe5534/attachment.pgp
More information about the kde-edu
mailing list