summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc/snippets
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-23 00:33:56 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-23 16:59:07 +0200
commit93e22bd21f08c5733974c273bf901ca62487c75a (patch)
tree6854bbc4d436798c3e082ccfe14c466c0396c366 /src/corelib/doc/snippets
parentb50e81b5b189c98244bdc0d5081a90cd875982d0 (diff)
Documentation: purge QSet and QHash members that no longer exist
QMutableSet/HashIterator can not walk backwards, neither can the STL iterator. When function documentation was shared with other iterator types, move it into separate section to avoid linking to incorrect see-alsos. Remove or fix other member function documentation that had errors, e.g. in parameter types after move to qsizetype. Change-Id: Ic7f97a295eff63ee748998b10f08a160706fa650 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/corelib/doc/snippets')
-rw-r--r--src/corelib/doc/snippets/code/doc_src_qiterator.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/corelib/doc/snippets/code/doc_src_qiterator.cpp b/src/corelib/doc/snippets/code/doc_src_qiterator.cpp
index 2ee618d394..44801dda09 100644
--- a/src/corelib/doc/snippets/code/doc_src_qiterator.cpp
+++ b/src/corelib/doc/snippets/code/doc_src_qiterator.cpp
@@ -118,15 +118,6 @@ while (i.hasNext())
qDebug() << i.next();
//! [17]
-
-//! [18]
-QMutableSetIterator<float> i(set);
-i.toBack();
-while (i.hasPrevious())
- qDebug() << i.previous();
-//! [18]
-
-
//! [19]
QMutableListIterator<int> i(list);
while (i.hasNext()) {