summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-10-31 15:21:44 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-11-01 20:17:33 +0000
commitc406acfdc58de997d10ad950a334744f69c9b835 (patch)
tree1730b20618aa3c857074d7cbd65b454b1621562f /src
parenteea109e024070eeb71a2a02fcda44c7770df32c7 (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>
Diffstat (limited to 'src')
-rw-r--r--src/corelib/text/qstring.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index 905e32a67f..518d25823a 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -2890,6 +2890,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