The QIntDictIterator class provides an iterator for QIntDict collections.
.PP
QIntDictIterator is implemented as a template class. Define a template instance QIntDictIterator<X> to create a dictionary iterator that operates on QIntDict<X> (dictionary of X*).
Note that the traversal order is arbitrary; you are not guaranteed the order shown above.
.PP
Multiple iterators may independently traverse the same dictionary. A QIntDict knows about all the iterators that are operating on the dictionary. When an item is removed from the dictionary, QIntDict updates all iterators that refer the removed item to point to the next item in the traversal order.
.PP
See also QIntDict, Collection Classes, and Non-GUI Classes.
Constructs an iterator for \fIdict\fR. The current iterator item is set to point to the 'first' item in the \fIdict\fR. The first item refers to the first item in the dictionary's arbitrary internal ordering.
.SH "QIntDictIterator::~QIntDictIterator ()"
Destroys the iterator.
.SH "uint QIntDictIterator::count () const"
Returns the number of items in the dictionary this iterator operates over.
.PP
See also isEmpty().
.SH "type * QIntDictIterator::current () const"
Returns a pointer to the current iterator item.
.SH "long QIntDictIterator::currentKey () const"
Returns the key for the current iterator item.
.SH "bool QIntDictIterator::isEmpty () const"
Returns TRUE if the dictionary is empty; otherwise eturns FALSE.
.PP
See also count().
.SH "QIntDictIterator::operator type * () const"
Cast operator. Returns a pointer to the current iterator item. Same as current().
.SH "type * QIntDictIterator::operator() ()"
Makes the succeeding item current and returns the original current item.
.PP
If the current iterator item was the last item in the dictionary or if it was 0, 0 is returned.
.SH "type * QIntDictIterator::operator++ ()"
Prefix ++ makes the succeeding item current and returns the new current item.
.PP
If the current iterator item was the last item in the dictionary or if it was 0, 0 is returned.