From kde-commits Thu Feb 15 09:06:29 2007 From: David Faure Date: Thu, 15 Feb 2007 09:06:29 +0000 To: kde-commits Subject: Re: branches/work/kdepim-3.5.5+/kpilot/lib Message-Id: <200702151006.44855.dfaure () klaralvdalens-datakonsult ! se> X-MARC-Message: https://marc.info/?l=kde-commits&m=117153041927144 On Wednesday 14 February 2007, Bertjan Broeksema wrote: > SVN commit 633698 by bbroeksema: > > Use QPtrList in stead of QValueVector. > I would recommend against using QPtrList in new code. QPtrList is not const correct, has dangerous first/next iterators, is difficult to port to KDE4. I suggest QValueVector or QValueList instead. Or, looking at how it's used in this code... a QValueList subclass with a find(conduit,pid) method :) -- David Faure, faure@kde.org, dfaure@klaralvdalens-datakonsult.se KDE/KOffice developer, Qt consultancy projects Klarälvdalens Datakonsult AB, Platform-independent software solutions