Nesta página

QDBusSignature Class

A classe QDBusSignature permite que o programador identifique o tipo SIGNATURE fornecido pelo sistema de tipos do D-Bus. Mais...

Cabeçalho: #include <QDBusSignature>
CMake: find_package(Qt6 REQUIRED COMPONENTS DBus)
target_link_libraries(mytarget PRIVATE Qt6::DBus)
qmake: QT += dbus

Funções públicas

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

Descrição detalhada

Veja também O sistema de tipos do ` Qt D-Bus `.

Documentação das funções de membro

[noexcept] QDBusSignature::QDBusSignature()

Cria uma nova assinatura.

Veja também setSignature().

[explicit] QDBusSignature::QDBusSignature(QLatin1StringView signature)

Cria uma nova assinatura a partir da sequência de caracteres em Latin-1 exibida por signature.

[explicit] QDBusSignature::QDBusSignature(const QString &signature)

Cria uma nova assinatura a partir do signature fornecido.

[explicit] QDBusSignature::QDBusSignature(const char *signature)

Cria uma nova assinatura a partir da assinatura fornecida signature.

void QDBusSignature::setSignature(const QString &signature)

Atribui o valor do ` signature ` fornecido a esta assinatura.

Veja também signature().

QString QDBusSignature::signature() const

Retorna esta assinatura.

Veja também setSignature().

[noexcept] void QDBusSignature::swap(QDBusSignature &other)

Troca esta assinatura por other. Essa operação é muito rápida e nunca falha.

© 2026 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.