diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-10-31 15:21:44 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2022-11-01 19:17:32 +0000 |
commit | 96b3382ec7879c577b4bc2a4881221154cccc3ce (patch) | |
tree | f0f1f200acd9108f78668871bd79248bbac74e9a | |
parent | 8b701829f63b01667cc45ac9250dcc689676164f (diff) |
Restore lost documentation for QString::append(QStringView)
Lost in commit 2766322de37adba37e0d0d4b0054e55edff01c6c (at 6.0) as it
was buried in the midst of a lot of QStringRef documentation. This
commit restores the documentation originally added in commit
3238445b270d5fb98f4008cb10a8adcc2d35165c, but locates it among the
other QString::append() overloads and adds a \overload directive.
Change-Id: If7b98f1ae9ae8144c421a048c8a35be8474558c7
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
(cherry picked from commit eb5f33c7a18f93002f64948a1c78b32fc678a5af)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/corelib/text/qstring.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp index 157cbdb5fb..5c2186a78c 100644 --- a/src/corelib/text/qstring.cpp +++ b/src/corelib/text/qstring.cpp @@ -3040,6 +3040,14 @@ QString &QString::append(const QString &str) } /*! + \fn QString &QString::append(QStringView v) + \overload append() + \since 6.0 + + Appends the given string view \a v to this string and returns the result. +*/ + +/*! \overload append() \since 5.0 |