The QSortedList class provides a list sorted by operator< and operator== More...
List of all member functions.
If you want to sort a QList you have to reimplement the QGList::compareItems() method. If the elements of your list support operator<() and operator==() then you can use QSortedList instead. Its compareItems() calls operator<() and operator==() and returns an appropriate result.
Otherwise, this is as QList.
See also QList and Collection Classes
Constructs an empty list.
Constructs a copy of list.
Each item in list is copied to this new list.
Removes all items from the list and destroys the list.
All list iterators that access this list will be reset.
Reimplemented for internal reasons; the API is not affected.
This reimplementation uses operator< and operator== to compare.
Assigns list to this list and returns a reference to this list.
This list is first cleared, then each item in list is appended to this list. Only the pointers are copied (shallow copy), unless newItem() has been reimplemented().
Search the documentation, FAQ, qt-interest archive and more (uses
This file is part of the Qt toolkit, copyright © 1995-2005 Trolltech, all rights reserved.
|Copyright © 2005 Trolltech||Trademarks|
Qt version 2.3.10