summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/corelib/plugin/quuid.cpp4
-rw-r--r--src/corelib/text/qstring.cpp9
-rw-r--r--src/corelib/text/qstringview.cpp4
-rw-r--r--src/corelib/tools/qcryptographichash.cpp3
4 files changed, 8 insertions, 12 deletions
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp
index 33fac4b892..b41af5c4f2 100644
--- a/src/corelib/plugin/quuid.cpp
+++ b/src/corelib/plugin/quuid.cpp
@@ -383,10 +383,10 @@ static QUuid createFromName(const QUuid &ns, const QByteArray &baseData, QCrypto
*/
/*!
- \fn static QUuid::fromString(QAnyStringView text)
+ \fn static QUuid::fromString(QAnyStringView string)
\since 5.10
- Creates a QUuid object from the string \a text, which must be
+ Creates a QUuid object from the string \a string, which must be
formatted as five hex fields separated by '-', e.g.,
"{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}" where each 'x' is a hex
digit. The curly braces shown here are optional, but it is normal to
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index 938712a36d..23da7e8b18 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -4043,8 +4043,7 @@ qsizetype QString::lastIndexOf(const QString &str, qsizetype from, Qt::CaseSensi
\overload lastIndexOf()
Returns the index position of the last occurrence of the string \a
- str in this string, searching backward from index position \a
- from. Returns -1 if \a str is not found.
+ str in this string. Returns -1 if \a str is not found.
If \a cs is Qt::CaseSensitive (default), the search is case
sensitive; otherwise the search is case insensitive.
@@ -4095,8 +4094,7 @@ qsizetype QString::lastIndexOf(QLatin1String str, qsizetype from, Qt::CaseSensit
\overload lastIndexOf()
Returns the index position of the last occurrence of the string \a
- str in this string, searching backward from index position \a
- from. Returns -1 if \a str is not found.
+ str in this string. Returns -1 if \a str is not found.
If \a cs is Qt::CaseSensitive (default), the search is case
sensitive; otherwise the search is case insensitive.
@@ -4149,8 +4147,7 @@ qsizetype QString::lastIndexOf(QChar ch, qsizetype from, Qt::CaseSensitivity cs)
\overload lastIndexOf()
Returns the index position of the last occurrence of the string view \a
- str in this string, searching backward from index position \a
- from. Returns -1 if \a str is not found.
+ str in this string. Returns -1 if \a str is not found.
If \a cs is Qt::CaseSensitive (default), the search is case
sensitive; otherwise the search is case insensitive.
diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp
index dc7ff5a86b..79d0ccd819 100644
--- a/src/corelib/text/qstringview.cpp
+++ b/src/corelib/text/qstringview.cpp
@@ -965,8 +965,8 @@ QT_BEGIN_NAMESPACE
\since 6.2
Returns the index position of the last match of the regular
- expression \a re in the string view, which starts before the index
- position \a from. Returns -1 if \a re didn't match anywhere.
+ expression \a re in the string view. Returns -1 if \a re didn't match
+ anywhere.
If the match is successful and \a rmatch is not \nullptr, it also
writes the results of the match into the QRegularExpressionMatch object
diff --git a/src/corelib/tools/qcryptographichash.cpp b/src/corelib/tools/qcryptographichash.cpp
index f44dee89d4..0ae389c9f9 100644
--- a/src/corelib/tools/qcryptographichash.cpp
+++ b/src/corelib/tools/qcryptographichash.cpp
@@ -450,8 +450,7 @@ void QCryptographicHash::addData(const char *data, qsizetype length)
#endif
/*!
- Adds the first \a length chars of \a data to the cryptographic
- hash.
+ Adds the characters in \a bytes to the cryptographic hash.
\note In Qt versions prior to 6.3, this function took QByteArray,
not QByteArrayView.