java.lang.Object
io.qt.QtObject
io.qt.dbus.QDBusVariant
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Enables the programmer to identify the variant type provided by the D-Bus typesystem
Java wrapper for Qt class QDBusVariant
- Since:
- This class was introduced in Qt 4.2.
-
Constructor Summary
ConstructorDescriptionSeeQDBusVariant::
QDBusVariant(QVariant&&) QDBusVariant
(QDBusVariant other) SeeQDBusVariant::
QDBusVariant(QDBusVariant) QDBusVariant
(Object variant) -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates and returns a copy of this object.final boolean
equals
(QDBusVariant v2) Seeoperator==(QDBusVariant,
QDBusVariant) boolean
Seeoperator==(QDBusVariant,
QDBusVariant) int
hashCode()
Returns the objects's hash code computed byqHash(QDBusVariant)
.final void
setVariant
(Object variant) final void
swap
(QDBusVariant other) final Object
variant()
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QDBusVariant
public QDBusVariant() -
QDBusVariant
See
QDBusVariant::
QDBusVariant(QDBusVariant) - Parameters:
other
-
-
QDBusVariant
See
QDBusVariant::
QDBusVariant(QVariant&&) - Parameters:
v
-
-
QDBusVariant
- Parameters:
variant
-
-
-
Method Details
-
equals
See
operator==(QDBusVariant,
QDBusVariant) - Parameters:
v2
-- Returns:
-
setVariant
- Parameters:
variant
-
-
swap
- Parameters:
other
-
-
variant
- Returns:
-
equals
See
operator==(QDBusVariant,
QDBusVariant) -
hashCode
Returns the objects's hash code computed byqHash(QDBusVariant)
. -
clone
Creates and returns a copy of this object.
See
QDBusVariant::
QDBusVariant(QDBusVariant)
-