QDBusSignature Class | Qt D-Bus 6.4.1

- Qt 6.4
- Qt D-Bus
- C++ Classes
- QDBusSignature
- Qt 6.4.1 Reference Documentation

# 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 REQUIRED COMPONENTS Dbus) target_link_libraries(mytarget PRIVATE Qt6::Dbus)
qmake: | QT += dbus

- List of all members, including inherited members

## Public Functions

| QDBusSignature(const QString &signature)
| QDBusSignature(QLatin1StringView 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(QLatin1StringView 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.