Review of documentation.
Documentation has been updated to reflect changes in Qt5. Change-Id: I378858cf61f4bf62375c30c3903818d754dadcf0 Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
This commit is contained in:
parent
b8fe5e1bbc
commit
efe607e8aa
@ -40,5 +40,5 @@
|
||||
|
||||
//! [0]
|
||||
// {67C8770B-44F1-410A-AB9A-F9B5446F13EE}
|
||||
QUuid IID_MyInterface(0x67c8770b, 0x44f1, 0x410a, 0xab, 0x9a, 0xf9, 0xb5, 0x44, 0x6f, 0x13, 0xee)
|
||||
QUuid IID_MyInterface(0x67c8770b, 0x44f1, 0x410a, 0xab, 0x9a, 0xf9, 0xb5, 0x44, 0x6f, 0x13, 0xee);
|
||||
//! [0]
|
||||
|
@ -181,7 +181,7 @@ static QUuid createFromName(const QUuid &ns, const QByteArray &baseData, QCrypto
|
||||
are in use. Each UUID contains a bit field that specifies which
|
||||
type (variant) of UUID it is. Call variant() to discover which
|
||||
type of UUID an instance of QUuid contains. It extracts the three
|
||||
most signifcant bits of byte 8 of the 16 bytes. In QUuid, byte 8
|
||||
most significant bits of byte 8 of the 16 bytes. In QUuid, byte 8
|
||||
is \c{QUuid::data4[0]}. If you create instances of QUuid using the
|
||||
constructor that accepts all the numeric values as parameters, use
|
||||
the following table to set the three most significant bits of
|
||||
@ -428,7 +428,17 @@ QUuid::QUuid(const QByteArray &text)
|
||||
\since 5.0
|
||||
\fn QUuid QUuid::createUuidV3(const QUuid &ns, const QByteArray &baseData);
|
||||
|
||||
This functions returns a new UUID with variant QUuid::DCE and version QUuid::Md5.
|
||||
This function returns a new UUID with variant QUuid::DCE and version QUuid::Md5.
|
||||
\a ns is the namespace and \a baseData is the basic data as described by RFC 4122.
|
||||
|
||||
\sa variant(), version(), createUuidV5()
|
||||
*/
|
||||
|
||||
/*!
|
||||
\since 5.0
|
||||
\fn QUuid QUuid::createUuidV3(const QUuid &ns, const QString &baseData);
|
||||
|
||||
This function returns a new UUID with variant QUuid::DCE and version QUuid::Md5.
|
||||
\a ns is the namespace and \a baseData is the basic data as described by RFC 4122.
|
||||
|
||||
\sa variant(), version(), createUuidV5()
|
||||
@ -438,7 +448,17 @@ QUuid::QUuid(const QByteArray &text)
|
||||
\since 5.0
|
||||
\fn QUuid QUuid::createUuidV5(const QUuid &ns, const QByteArray &baseData);
|
||||
|
||||
This functions returns a new UUID with variant QUuid::DCE and version QUuid::Sha1.
|
||||
This function returns a new UUID with variant QUuid::DCE and version QUuid::Sha1.
|
||||
\a ns is the namespace and \a baseData is the basic data as described by RFC 4122.
|
||||
|
||||
\sa variant(), version(), createUuidV3()
|
||||
*/
|
||||
|
||||
/*!
|
||||
\since 5.0
|
||||
\fn QUuid QUuid::createUuidV5(const QUuid &ns, const QString &baseData);
|
||||
|
||||
This function returns a new UUID with variant QUuid::DCE and version QUuid::Sha1.
|
||||
\a ns is the namespace and \a baseData is the basic data as described by RFC 4122.
|
||||
|
||||
\sa variant(), version(), createUuidV3()
|
||||
@ -990,6 +1010,10 @@ QUuid QUuid::createUuid()
|
||||
*/
|
||||
|
||||
#ifndef QT_NO_DEBUG_STREAM
|
||||
/*!
|
||||
\relates QUuid
|
||||
Writes the UUID \a id to the output stream for debugging information \a dbg.
|
||||
*/
|
||||
QDebug operator<<(QDebug dbg, const QUuid &id)
|
||||
{
|
||||
#ifndef QT_NO_QUUID_STRING
|
||||
|
Loading…
Reference in New Issue
Block a user