summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qstringiterator.qdoc
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2017-02-04 13:05:06 +0100
committerEdward Welbourne <edward.welbourne@qt.io>2017-04-03 15:41:09 +0000
commitd40dcee642c69784f771aae86531ae65b458f1a5 (patch)
treecc96f153042a48a770e6b34fe200e7e95c877707 /src/corelib/tools/qstringiterator.qdoc
parentb8c61c6bb35c49fc8a6aed4925e59ba1694eab19 (diff)
QStringIterator: port to QStringView
Pretty straightforward, as the implementation already used only an iterator range internally. Change-Id: I6e6b809329e2e2548bba6db414a3d107d09637d1 Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qstringiterator.qdoc')
-rw-r--r--src/corelib/tools/qstringiterator.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/tools/qstringiterator.qdoc b/src/corelib/tools/qstringiterator.qdoc
index ff759b6f0e..ae3ad53653 100644
--- a/src/corelib/tools/qstringiterator.qdoc
+++ b/src/corelib/tools/qstringiterator.qdoc
@@ -55,7 +55,7 @@
that may be present in a QString, and return the individual Unicode code points.
You can create a QStringIterator that iterates over a given
- QString by passing the string to the QStringIterator's constructor:
+ QStringView by passing the string to the QStringIterator's constructor:
\snippet code/src_corelib_tools_qstringiterator.cpp 0
@@ -120,12 +120,12 @@
*/
/*!
- \fn QStringIterator::QStringIterator(const QString &string)
+ \fn QStringIterator::QStringIterator(QStringView string, QStringView::size_type idx)
Constructs an iterator over the contents of \a string. The iterator will point
- before the first position in the string.
+ before position \a idx in the string.
- The string \a string must remain valid while the iterator is being used.
+ The string view \a string must remain valid while the iterator is being used.
*/
/*!