From bb04478dfcc2ef37d09399bd4410e25537fdf378 Mon Sep 17 00:00:00 2001 From: Edward Welbourne Date: Wed, 11 Aug 2021 17:47:34 +0200 Subject: Fix some old copy-and-paste errors in QByteArrayView docs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Various texts copied from QByteArray were still talking about the byte array, not the byte array view. Change-Id: Ief46f6053641b7a19f8be7b20562f4b9ed66f6b3 Reviewed-by: MÃ¥rten Nordheim Reviewed-by: Sona Kurazyan Reviewed-by: Paul Wicking Reviewed-by: Ivan Solovev --- src/corelib/text/qbytearrayview.qdoc | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/corelib/text/qbytearrayview.qdoc b/src/corelib/text/qbytearrayview.qdoc index 740734ebbd..00423995a9 100644 --- a/src/corelib/text/qbytearrayview.qdoc +++ b/src/corelib/text/qbytearrayview.qdoc @@ -332,7 +332,7 @@ /*! \fn const char *QByteArrayView::data() const - Returns a const \c char pointer to the first byte in the byte array. + Returns a const \c char pointer to the first byte in the byte array view. \note The character array represented by the return value is \e not guaranteed to be null-terminated. The returned pointer is only safe to use for accessing @@ -344,7 +344,7 @@ /*! \fn const char *QByteArrayView::constData() const - Returns a const \c char pointer to the first byte in the byte array. + Returns a const \c char pointer to the first byte in the byte array view. \note The character array represented by the return value is \e not guaranteed to be null-terminated. The returned pointer is only safe to use for accessing @@ -369,7 +369,7 @@ \fn QByteArrayView::const_iterator QByteArrayView::begin() const Returns a const \l{STL-style iterators}{STL-style iterator} pointing to the - first byte in the byte array. + first byte in the byte array view. This function is provided for STL compatibility. @@ -390,7 +390,7 @@ \fn QByteArrayView::const_iterator QByteArrayView::end() const Returns a const \l{STL-style iterators}{STL-style iterator} pointing - just after the last byte in the byte array. + just after the last byte in the byte array view. This function is provided for STL compatibility. @@ -410,7 +410,7 @@ \fn QByteArrayView::const_reverse_iterator QByteArrayView::rbegin() const Returns a const \l{STL-style iterators}{STL-style} reverse iterator pointing - to the first byte in the byte array, in reverse order. + to the first byte in the byte array view, in reverse order. This function is provided for STL compatibility. @@ -431,7 +431,7 @@ \fn QByteArrayView::const_reverse_iterator QByteArrayView::rend() const Returns a \l{STL-style iterators}{STL-style} reverse iterator pointing to one past - the last byte in the byte array, in reverse order. + the last byte in the byte array view, in reverse order. This function is provided for STL compatibility. @@ -513,7 +513,7 @@ /*! \fn char QByteArrayView::front() const - Returns the first byte in the byte array. + Returns the first byte in the byte array view. This function is provided for STL compatibility. @@ -526,7 +526,7 @@ /*! \fn char QByteArrayView::back() const - Returns the last byte in the byte array. + Returns the last byte in the byte array view. This function is provided for STL compatibility. -- cgit v1.2.3