summaryrefslogtreecommitdiffstats
path: root/src/corelib/doc
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2020-07-13 09:40:58 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2020-07-14 17:11:37 +0000
commit5778d46e15605e218a9a4f86acee870b38905fc9 (patch)
tree88de3b69fda76961a7f1d8e617f63bda25d75c25 /src/corelib/doc
parent34fad03817f3365b1a3ed679dec01ebb7a1d1668 (diff)
Doc: Mark API in Q[Mutable]HashIterator as deprecated
The reverse iteration API got deprecated in code already in commit dbb54805f63f9e . Now also fix the documentation. Fixes: QTBUG-85482 Change-Id: I3b575f60dabfe1005b9744d17c257da3e22817c5 Reviewed-by: Lars Knoll <lars.knoll@qt.io> (cherry picked from commit 77c2ac559fc9085608ec5a6995fcf4ec8446ec67) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/corelib/doc')
-rw-r--r--src/corelib/doc/snippets/code/doc_src_qiterator.cpp20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/corelib/doc/snippets/code/doc_src_qiterator.cpp b/src/corelib/doc/snippets/code/doc_src_qiterator.cpp
index 58f4166c3e..c7a312b00e 100644
--- a/src/corelib/doc/snippets/code/doc_src_qiterator.cpp
+++ b/src/corelib/doc/snippets/code/doc_src_qiterator.cpp
@@ -331,16 +331,6 @@ while (i.hasNext()) {
//! [29]
-//! [30]
-QHashIterator<int, QWidget *> i(hash);
-i.toBack();
-while (i.hasPrevious()) {
- i.previous();
- qDebug() << i.key() << ": " << i.value();
-}
-//! [30]
-
-
//! [31]
QHashIterator<int, QWidget *> i(hash);
while (i.findNext(widget)) {
@@ -401,16 +391,6 @@ while (i.hasNext()) {
//! [36]
-//! [37]
-QMutableHashIterator<int, QWidget *> i(hash);
-i.toBack();
-while (i.hasPrevious()) {
- i.previous();
- qDebug() << i.key() << ": " << i.value();
-}
-//! [37]
-
-
//! [38]
QMutableHashIterator<int, QWidget *> i(hash);
while (i.findNext(widget)) {