From bc880698908eaf6ee9bda4a122c37afd9b8981ab Mon Sep 17 00:00:00 2001 From: Ivan Solovev Date: Tue, 15 Aug 2023 17:57:33 +0200 Subject: [PATCH] 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. Change-Id: Iaa1f5eef22df60676e52197fbcf613f6e9970a3e Reviewed-by: Edward Welbourne Reviewed-by: Thiago Macieira Reviewed-by: Marc Mutz (cherry picked from commit 17297e17927631f22dbb342c00f65af6a2b5a5e1) Reviewed-by: Qt Cherry-pick Bot --- src/corelib/plugin/quuid.cpp | 8 ++++---- 1 file 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.