Hi to all, I have iterated a QMap, but after this, I have to iterate it again, the problem is, I do not know after the first iteration, the iterator is at end of the QMap, or it locaetes itself at the first again automatically??
Thanks in advance!
Hi to all, I have iterated a QMap, but after this, I have to iterate it again, the problem is, I do not know after the first iteration, the iterator is at end of the QMap, or it locaetes itself at the first again automatically??
Thanks in advance!
Hi,
Simply call "begin()" and get the new iterator that points to the start of the map.
Òscar Llarch i Galán
thanks, but something wrong it seems.
and after the first iteration :Qt Code:
To copy to clipboard, switch view to plain text mode
But the compiler find some error
use this method QMapIterator::toFront if you use java-style iterators.
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Bookmarks