From 77c2ac559fc9085608ec5a6995fcf4ec8446ec67 Mon Sep 17 00:00:00 2001 From: Kai Koehne Date: Mon, 13 Jul 2020 09:40:58 +0200 Subject: 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 Pick-to: 5.15 Change-Id: I3b575f60dabfe1005b9744d17c257da3e22817c5 Reviewed-by: Lars Knoll --- src/corelib/doc/snippets/code/doc_src_qiterator.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/corelib/doc') diff --git a/src/corelib/doc/snippets/code/doc_src_qiterator.cpp b/src/corelib/doc/snippets/code/doc_src_qiterator.cpp index 265e4a724a..ed0cf9e329 100644 --- a/src/corelib/doc/snippets/code/doc_src_qiterator.cpp +++ b/src/corelib/doc/snippets/code/doc_src_qiterator.cpp @@ -195,16 +195,6 @@ while (i.hasNext()) { //! [29] -//! [30] -QHashIterator i(hash); -i.toBack(); -while (i.hasPrevious()) { - i.previous(); - qDebug() << i.key() << ": " << i.value(); -} -//! [30] - - //! [31] QHashIterator i(hash); while (i.findNext(widget)) { @@ -265,16 +255,6 @@ while (i.hasNext()) { //! [36] -//! [37] -QMutableHashIterator i(hash); -i.toBack(); -while (i.hasPrevious()) { - i.previous(); - qDebug() << i.key() << ": " << i.value(); -} -//! [37] - - //! [38] QMutableHashIterator i(hash); while (i.findNext(widget)) { -- cgit v1.2.3