7QListIterator<
float> i(list);
16while (i.hasPrevious())
17 float f = i.previous();
23QSetIterator<QString> i(set);
31QMutableListIterator<
float> i(list);
40while (i.hasPrevious())
41 float f = i.previous();
51 }
else if (val == 0) {
60QMutableSetIterator<
float> i(set);
69 if (val < -32768 || val > 32767)
78 if (val < -32768 || val > 32767)
87 double val = i.next();
88 i.setValue(std::sqrt(val));
95QMapIterator<
int, QWidget *> i(map);
98 qDebug() << i.key() <<
": " << i.value();
106while (i.hasPrevious()) {
108 qDebug() << i.key() <<
": " << i.value();
115while (i.findNext(widget)) {
116 qDebug() <<
"Found widget " << widget <<
" under key "
124QMultiMapIterator<
int, QWidget *> i(multimap);
127 qDebug() << i.key() <<
": " << i.value();
135while (i.hasPrevious()) {
137 qDebug() << i.key() <<
": " << i.value();
144while (i.findNext(widget)) {
145 qDebug() <<
"Found widget " << widget <<
" under key "
154QHashIterator<
int, QWidget *> i(hash);
157 qDebug() << i.key() <<
": " << i.value();
164while (i.findNext(widget)) {
165 qDebug() <<
"Found widget " << widget <<
" under key "
174QMutableMapIterator<
int, QWidget *> i(map);
177 qDebug() << i.key() <<
": " << i.value();
185while (i.hasPrevious()) {
187 qDebug() << i.key() <<
": " << i.value();
194while (i.findNext(widget)) {
195 qDebug() <<
"Found widget " << widget <<
" under key "
205 if (i.key() == i.value())
214QMutableMultiMapIterator<
int, QWidget *> i(multimap);
217 qDebug() << i.key() <<
": " << i.value();
225while (i.hasPrevious()) {
227 qDebug() << i.key() <<
": " << i.value();
234while (i.findNext(widget)) {
235 qDebug() <<
"Found widget " << widget <<
" under key "
245 if (i.key() == i.value())
254QMutableHashIterator<QString, QWidget *> i(hash);
257 qDebug() << i.key() <<
": " << i.value();
264while (i.findNext(widget)) {
265 qDebug() <<
"Found widget " << widget <<
" under key "
275 if (i.key() == i.value())
QMap< QString, QString > map
[6]
QHash< int, QWidget * > hash
[35multi]
QMultiMap< int, QWidget * > multimap
[28]
QFuture< QSet< QChar > > set
[10]