[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: Re: branches/work/kdepim-3.5.5+/kpilot/lib
From: David Faure <dfaure () klaralvdalens-datakonsult ! se>
Date: 2007-02-15 9:06:29
Message-ID: 200702151006.44855.dfaure () klaralvdalens-datakonsult ! se
[Download RAW message or body]
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic