summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstringview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/text/qstringview.cpp')
-rw-r--r--src/corelib/text/qstringview.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/corelib/text/qstringview.cpp b/src/corelib/text/qstringview.cpp
index abb7015b68..f4c3ccce66 100644
--- a/src/corelib/text/qstringview.cpp
+++ b/src/corelib/text/qstringview.cpp
@@ -360,6 +360,17 @@ QT_BEGIN_NAMESPACE
*/
/*!
+ \fn const QChar *QStringView::constData() const
+ \since 6.0
+
+ Returns a const pointer to the first character in the string.
+
+ \note The character array represented by the return value is \e not null-terminated.
+
+ \sa data(), begin(), end(), utf16()
+*/
+
+/*!
\fn const storage_type *QStringView::utf16() const
Returns a const pointer to the first character in the string.