diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-11 17:47:34 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-08-17 12:20:24 +0200 |
commit | bb04478dfcc2ef37d09399bd4410e25537fdf378 (patch) | |
tree | 681450c78437f4ee5d2a3992293b9e43e17f51c5 /src | |
parent | eafbda41910b8bcf69223dec2b7750671b692348 (diff) |
Fix some old copy-and-paste errors in QByteArrayView docs
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 <marten.nordheim@qt.io>
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src')
-rw-r--r-- | src/corelib/text/qbytearrayview.qdoc | 16 |
1 files 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. |