45 #include <QtCore/qstring.h> 90 for(
int i = 0; i < 8; i++)
93 QUuid(
uint l,
ushort w1,
ushort w2,
uchar b1,
uchar b2,
uchar b3,
uchar b4,
uchar b5,
uchar b6,
uchar b7,
uchar b8)
107 #ifndef QT_NO_QUUID_STRING 122 if (data1 != orig.
data1 || data2 != orig.
data2 ||
126 for(i = 0; i < 8; i++)
127 if (data4[i] != orig.
data4[i])
135 return !(*
this == orig);
138 bool operator<(
const QUuid &other)
const;
139 bool operator>(
const QUuid &other)
const;
141 #if defined(Q_OS_WIN) 149 for(
int i = 0; i < 8; i++)
150 data4[i] = guid.
Data4[i];
161 GUID guid = { data1, data2, data3, { data4[0], data4[1], data4[2], data4[3], data4[4], data4[5], data4[6], data4[7] } };
167 return *
this == QUuid(guid);
172 return !(*
this == guid);
175 static QUuid createUuid();
185 #ifndef QT_NO_DATASTREAM bool operator==(const QUuid &orig) const
Returns true if this QUuid and the other QUuid are identical; otherwise returns false.
#define QT_END_NAMESPACE
This macro expands to.
bool operator>(const QByteArray &a1, const QByteArray &a2)
QUuid(uint l, ushort w1, ushort w2, uchar b1, uchar b2, uchar b3, uchar b4, uchar b5, uchar b6, uchar b7, uchar b8)
Creates a UUID with the value specified by the parameters, l, w1, w2, b1, b2, b3, b4...
The QByteArray class provides an array of bytes.
Version
This enum defines the values used in the Version field {version field} of the UUID.
The QString class provides a Unicode character string.
bool operator<(int priority, const QPair< QRunnable *, int > &p)
bool operator!=(const GUID &guid) const
Returns true if this UUID is not equal to the Windows GUID guid; otherwise returns false...
static QString toString(Register *reg, int type, bool *ok=0)
#define QT_BEGIN_NAMESPACE
This macro expands to.
QUuid()
Creates the null UUID.
Variant
This enum defines the values used in the Variant field {variant field} of the UUID.
Q_CORE_EXPORT QDataStream & operator>>(QDataStream &, QUuid &)
QUuid(const GUID &guid)
Casts a Windows guid to a Qt QUuid.
QUuid & operator=(const GUID &guid)
Assigns a Windows guid to a Qt QUuid.
The QDataStream class provides serialization of binary data to a QIODevice.
bool operator==(const GUID &guid) const
Returns true if this UUID is equal to the Windows GUID guid; otherwise returns false.
Q_CORE_EXPORT QDataStream & operator<<(QDataStream &, const QUuid &)
The QUuid class stores a Universally Unique Identifier (UUID).
static bool isNull(const QVariant::Private *d)
bool operator!=(const QUuid &orig) const
Returns true if this QUuid and the other QUuid are different; otherwise returns false.