summaryrefslogtreecommitdiffstats
path: root/src/corelib/plugin/quuid.cpp
diff options
context:
space:
mode:
authorIvan Solovev <ivan.solovev@qt.io>2023-08-15 17:57:33 +0200
committerIvan Solovev <ivan.solovev@qt.io>2023-08-16 14:56:51 +0200
commit17297e17927631f22dbb342c00f65af6a2b5a5e1 (patch)
treef50fc2df47ee7943079513f6cdeb4905088b17f9 /src/corelib/plugin/quuid.cpp
parent9c386ebb0d7d8df8ab530d6c8b0aac705e736021 (diff)
QUuid: improve documentation regarding the order parameter
Clarify that the order is the expected byte order of the input data. Found during Qt 6.6 API Review. Pick-to: 6.6 Change-Id: Iaa1f5eef22df60676e52197fbcf613f6e9970a3e Reviewed-by: Edward Welbourne <edward.welbourne@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Diffstat (limited to 'src/corelib/plugin/quuid.cpp')
-rw-r--r--src/corelib/plugin/quuid.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/plugin/quuid.cpp b/src/corelib/plugin/quuid.cpp
index 2a2f4cb00d5..6169e0632ca 100644
--- a/src/corelib/plugin/quuid.cpp
+++ b/src/corelib/plugin/quuid.cpp
@@ -304,8 +304,8 @@ static QUuid createFromName(const QUuid &ns, const QByteArray &baseData, QCrypto
\fn QUuid::QUuid(Id128Bytes id128, QSysInfo::Endian order) noexcept
\since 6.6
- Creates a QUuid based on the integral \a id128 parameter and respecting the
- byte order \a order.
+ Creates a QUuid based on the integral \a id128 parameter. The input
+ \a id128 parameter is considered to have byte order \a order.
\sa fromBytes(), toBytes(), toRfc4122(), toUInt128()
*/
@@ -314,8 +314,8 @@ static QUuid createFromName(const QUuid &ns, const QByteArray &baseData, QCrypto
\fn QUuid::fromUInt128(quint128 uuid, QSysInfo::Endian order) noexcept
\since 6.6
- Creates a QUuid based on the integral \a uuid parameter and respecting the
- byte order \a order.
+ Creates a QUuid based on the integral \a uuid parameter. The input \a uuid
+ parameter is considered to have byte order \a order.
\note This function is only present on platforms that offer a 128-bit
integer type.