summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringtokenizer.cpp
diff options
context:
space:
mode:
authorDavid Boddie <david.boddie@qt.io>2025-02-06 17:17:07 +0100
committerDavid Boddie <david.boddie@qt.io>2025-02-10 19:20:07 +0100
commit4aff3488b8262ef23f1230b7f530c46ca2d61ac1 (patch)
tree08db02ae3152b6313bbb10e6af0748d1c89874a6 /src/corelib/text/qstringtokenizer.cpp
parent85899ff181984a1310cd1ad10cdb0824f1ca5118 (diff)
doc: Remove invalid link and tone down language
QLatin1StringView::split() appears to be invalid. Pick-to: 6.8 6.9 Change-Id: I11066b8224cce0a6091c758367f602a63c6136a0 Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/text/qstringtokenizer.cpp')
-rw-r--r--src/corelib/text/qstringtokenizer.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/corelib/text/qstringtokenizer.cpp b/src/corelib/text/qstringtokenizer.cpp
index 79b355ceff2..d6443ee4a71 100644
--- a/src/corelib/text/qstringtokenizer.cpp
+++ b/src/corelib/text/qstringtokenizer.cpp
@@ -32,15 +32,14 @@ QT_BEGIN_NAMESPACE
use(*it);
\endcode
- \note You should never, ever, name the template arguments of a
+ \note You should never name the template arguments of a
QStringTokenizer explicitly. You may write
- \c{QStringTokenizer{string, separator}} (without template
- arguments), or use the qTokenize() function, or the
- QStringView::split() or QLatin1StringView::split() member functions
- and store the return value only in \c{auto} variables:
+ \c{QStringTokenizer{string, separator}} (without template arguments),
+ or use either QStringView::tokenize() or QLatin1StringView::tokenize(),
+ then store the return value only in an \c{auto} variable:
\code
- auto result = string.split(sep);
+ auto result = strview.tokenize(sep);
\endcode
This is because the template arguments of QStringTokenizer have a