summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qbytearrayview.qdoc
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-23 11:57:02 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-09-23 16:59:08 +0200
commit3299476791d60ead8e032aa24c1167a3a7cffe3a (patch)
treebebe80757be75f2ea317812b5967ba69c9e4ea07 /src/corelib/text/qbytearrayview.qdoc
parent1cbfaebfc9e493b4033ab39739ba1dbaa192951a (diff)
Fix qdoc warnings for QByteArrayView
Provide simplified declaration of fromArray for qdoc runs; fix a small typo. Change-Id: I8c7300a014270e8ab7f18afd94ee66af4734e0c7 Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Diffstat (limited to 'src/corelib/text/qbytearrayview.qdoc')
-rw-r--r--src/corelib/text/qbytearrayview.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/text/qbytearrayview.qdoc b/src/corelib/text/qbytearrayview.qdoc
index 839a956249..36571e53d4 100644
--- a/src/corelib/text/qbytearrayview.qdoc
+++ b/src/corelib/text/qbytearrayview.qdoc
@@ -256,7 +256,7 @@
*/
/*!
- \fn template <size_t Size> QByteArrayView(const char (&data)[Size])
+ \fn template <size_t Size> QByteArrayView::QByteArrayView(const char (&data)[Size])
Constructs a byte array view on the char array \a data.
The view covers the array until the first \c{'\0'} is encountered,
@@ -302,7 +302,7 @@
*/
/*!
- \fn template <typename Byte, size_t Size> static QByteArrayView QByteArrayView::fromArray(Byte (&data)[Size])
+ \fn template <typename Byte, size_t Size> QByteArrayView QByteArrayView::fromArray(const Byte (&data)[Size])
Constructs a byte array view on the array literal \a data. The view covers the full
array. That includes the trailing null-terminator of \c{char} array literals.
@@ -602,7 +602,7 @@
\note The behavior is undefined when \a length < 0 or \a length > size().
- \sa first(), last(), sliced(), right(), chopped(), chop()
+ \sa first(), last(), sliced(), chopped(), chop()
*/
/*!
@@ -677,7 +677,7 @@
*/
/*!
- \fn qizetype QByteArrayView::count(QByteArrayView bv) const
+ \fn qsizetype QByteArrayView::count(QByteArrayView bv) const
Returns the number of (potentially overlapping) occurrences of the
sequence of bytes viewed by \a bv in this byte array view.