![]() |
| ||
Classes - Annotated - Tree - Functions - Home - Structure |
The QValueListConstIterator class provides a const iterator for QValueList. More...
#include <qvaluelist.h>
In contrast to QValueListIterator, this class is used to iterate over a const list. It does not allow modification of the values of the list since this would break const semantics.
You can create the appropriate const iterator type by using the const_iterator typedef provided by QValueList.
For more information on QValueList iterators, see QValueListIterator.
See also QValueListIterator, QValueList, Qt Template Library and The Tool Classes.
Constructs a copy of the iterator it.
Compares this iterator with it and returns TRUE if they point to different items; otherwise returns FALSE.
Postfix ++ makes the succeeding item current and returns an iterator pointing to the new current item. The iterator cannot check whether it reached the end of the list. Incrementing the iterator as returned by end() causes undefined results.
Prefix -- makes the previous item current and returns an iterator pointing to the new current item. The iterator cannot check whether it reached the beginning of the list. Decrementing the iterator as returned by begin() causes undefined results.
Postfix -- makes the previous item current and returns an iterator pointing to the new current item. The iterator cannot check whether it reached the beginning of the list. Decrementing the iterator as returned by begin() causes undefined results.
Compares this iterator with it and returns TRUE if they point to the same item; otherwise returns FALSE.
Search the documentation, FAQ, qt-interest archive and more (uses
www.trolltech.com):
This file is part of the Qt toolkit, copyright © 1995-2001 Trolltech, all rights reserved.
Copyright © 2001 Trolltech | Trademarks | Qt version 3.0.0-beta3
|