![]() |
CopperSpice DBUS
1.7.4
|
The QDBusVariant class enables the programmer to identify the variant type provided by the D-Bus typesystem. More...
Public Methods | |
QDBusVariant () noexcept | |
QDBusVariant (const QVariant &variant) | |
QDBusVariant (QVariant &&variant) noexcept | |
void | setVariant (const QVariant &variant) |
void | swap (QDBusVariant &other) noexcept |
QVariant | variant () const |
The QDBusVariant class enables the programmer to identify the variant type provided by the D-Bus typesystem.
A D-Bus function that takes an integer, a D-Bus variant and a string as parameters can be called with the following argument list (see QDBusMessage::setArguments()):
|
inlinenoexcept |
Constructs a new QDBusVariant.
|
inlineexplicit |
Copy constructs a new QDBusVariant from variant.
|
inlineexplicitnoexcept |
Move constructs a new QDBusVariant from variant.
|
inline |
Assigns the value of the given variant to this QDBusVariant.
|
inlinenoexcept |
Swaps other with this object. This operation is very fast and never fails.
|
inline |
Returns this D-Bus variant as a QVariant object.