java.lang.Object
io.qt.QtObject
io.qt.core.QUuid
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
,Comparable<QUuid>
- Direct Known Subclasses:
QBluetoothUuid
Stores a Universally Unique Identifier (UUID)
Java wrapper for Qt's class QUuid
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
Java wrapper for Qt enum QUuid::StringFormatstatic enum
Java wrapper for Qt enum QUuid::Variantstatic enum
Java wrapper for Qt enum QUuid::VersionNested classes/interfaces inherited from class io.qt.QtObject
QtObject.QPrivateConstructor
-
Constructor Summary
ModifierConstructorDescriptionQUuid()
See QUuid::QUuid()QUuid
(int l, short w1, short w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8) QUuid
(QByteArray arg__1) protected
Constructor for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
static QUuid
static QUuid
createUuidV3
(QUuid ns, QByteArray baseData) static QUuid
createUuidV3
(QUuid ns, String baseData) static QUuid
createUuidV5
(QUuid ns, QByteArray baseData) static QUuid
createUuidV5
(QUuid ns, String baseData) final int
data1()
final short
data2()
final short
data3()
final byte[]
data4()
boolean
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical.static QUuid
fromRfc4122
(QByteArray arg__1) static QUuid
fromString
(String string) final int
getData1()
Kotlin property getter.final short
getData2()
Kotlin property getter.final short
getData3()
Kotlin property getter.final byte[]
getData4()
Kotlin property getter.int
hashCode()
final boolean
isNull()
void
readFrom
(QDataStream arg__1) final void
setData1
(int data1) final void
setData2
(short data2) final void
setData3
(short data3) final void
setData4
(byte[] data4) final QByteArray
final QByteArray
final QByteArray
final String
toString()
final String
toString
(QUuid.StringFormat mode) final QUuid.Variant
variant()
final QUuid.Version
version()
void
writeTo
(QDataStream arg__1) Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QUuid
public QUuid()See QUuid::QUuid()
-
QUuid
-
QUuid
-
QUuid
public QUuid(int l, short w1, short w2, byte b1, byte b2, byte b3, byte b4, byte b5, byte b6, byte b7, byte b8) -
QUuid
Constructor for internal use only.- Parameters:
p
- expected to benull
.
-
-
Method Details
-
isNull
-
writeTo
-
readFrom
-
toByteArray
-
toByteArray
-
toRfc4122
-
toString
-
toString
-
variant
-
version
-
createUuid
-
createUuidV3
-
createUuidV3
-
createUuidV5
-
createUuidV5
-
fromRfc4122
-
fromString
-
setData1
-
getData1
Kotlin property getter. In Java use
data1()
instead. -
data1
-
setData2
-
getData2
Kotlin property getter. In Java use
data2()
instead. -
data2
-
setData3
-
getData3
Kotlin property getter. In Java use
data3()
instead. -
data3
-
setData4
-
getData4
Kotlin property getter. In Java use
data4()
instead. -
data4
-
equals
Description copied from class:QtObject
Used to check if this object shares the same native counterpart with the other object, i.e. the objects are equals if their native counterparts are identical. Qt value types override this method to make a value comparison. Otherwise it will return the result of calling the super class implementation. -
compareTo
- Specified by:
compareTo
in interfaceComparable<QUuid>
-
hashCode
-
clone
-