summaryrefslogtreecommitdiffstats
path: root/src/corelib/text
diff options
context:
space:
mode:
authorMorten Sørvig <morten.sorvig@qt.io>2023-02-14 07:53:51 +0100
committerMorten Sørvig <morten.sorvig@qt.io>2023-02-14 14:25:38 +0100
commit062b919047a97f20499785cedbf8acc98548efa2 (patch)
tree54e2c2f1639e34b24a733980da44acb68e94c135 /src/corelib/text
parente4562157a14dfa07a56c364203c159cada330269 (diff)
wasm: fix to/from Uint8Array documentaton
Functions generally don't have a \brief section. The Uint8Array conversion functions were introduced in 6.5. Pick-to: 6.5 Change-Id: I1d366d7506327128f7eedd71310e570ade6fc66c Reviewed-by: Mikołaj Boc <Mikolaj.Boc@qt.io>
Diffstat (limited to 'src/corelib/text')
-rw-r--r--src/corelib/text/qbytearray.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/text/qbytearray.cpp b/src/corelib/text/qbytearray.cpp
index 736f6fb192..6227f773a9 100644
--- a/src/corelib/text/qbytearray.cpp
+++ b/src/corelib/text/qbytearray.cpp
@@ -4846,7 +4846,7 @@ QByteArray QByteArray::toPercentEncoding(const QByteArray &exclude, const QByteA
#if defined(Q_OS_WASM) || defined(Q_QDOC)
/*!
- \brief Constructs a new QByteArray containing a copy of the Uint8Array \a uint8array.
+ Constructs a new QByteArray containing a copy of the Uint8Array \a uint8array.
This function transfers data from a JavaScript data buffer - which
is not addressable from C++ code - to heap memory owned by a QByteArray.
@@ -4862,7 +4862,7 @@ QByteArray QByteArray::toPercentEncoding(const QByteArray &exclude, const QByteA
exceeds the maximum capacity of QByteArray, or if the \a uint8array
argument is not of the Uint8Array type.
- \since 6.4
+ \since 6.5
\ingroup platform-type-conversions
\sa toUint8Array()
@@ -4874,7 +4874,7 @@ QByteArray QByteArray::fromUint8Array(emscripten::val uint8array)
}
/*!
- \brief Creates a Uint8Array from a QByteArray
+ Creates a Uint8Array from a QByteArray.
This function transfers data from heap memory owned by a QByteArray
to a JavaScript data buffer. The function allocates and copies into an
@@ -4885,7 +4885,7 @@ QByteArray QByteArray::fromUint8Array(emscripten::val uint8array)
\snippet code/src_corelib_text_qbytearray.cpp 56
- \since 6.4
+ \since 6.5
\ingroup platform-type-conversions
\sa toUint8Array()