QDBusSignature Class

The QDBusSignature class enables the programmer to identify the SIGNATURE type provided by the D-Bus typesystem. More...

Header: #include <QDBusSignature>
CMake: find_package(Qt6 COMPONENTS Dbus REQUIRED)
target_link_libraries(mytarget PRIVATE Qt6::Dbus)
qmake: QT += dbus

Public Functions

QDBusSignature(const QString &signature)
QDBusSignature(QLatin1String signature)
QDBusSignature(const char *signature)
QDBusSignature()
void setSignature(const QString &signature)
QString signature() const
void swap(QDBusSignature &other)

Detailed Description

See also The Qt D-Bus Type System.

Member Function Documentation

QDBusSignature::QDBusSignature(const QString &signature)

Constructs a new signature from the given signature.

QDBusSignature::QDBusSignature(QLatin1String signature)

Constructs a new signature from the given signature.

QDBusSignature::QDBusSignature(const char *signature)

Constructs a new signature from the given signature.

QDBusSignature::QDBusSignature()

Constructs a new signature.

See also setSignature().

void QDBusSignature::setSignature(const QString &signature)

Assigns the value of the given signature to this signature.

See also signature().

QString QDBusSignature::signature() const

Returns this signature.

See also setSignature().

void QDBusSignature::swap(QDBusSignature &other)

Swaps this QDBusSignature instance with other.