QDBusSignature 类

QDBusSignature 类使程序员能够标识由 D-Bus 类型系统提供的 SIGNATURE 类型。 更多...

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

公共函数

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

详细描述

另请参阅 Qt D-Bus 类型系统 .

成员函数文档编制

QDBusSignature:: QDBusSignature ()

Constructs a new signature.

另请参阅 setSignature ().

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

Constructs a new signature from the given signature .

[explicit] QDBusSignature:: QDBusSignature ( QLatin1StringView signature )

Constructs a new signature from the Latin-1 string viewed by signature .

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

Constructs a new signature from the given signature .

void QDBusSignature:: setSignature (const QString & signature )

Assigns the value of the given signature to this signature.

另请参阅 signature ().

QString QDBusSignature:: signature () const

Returns this signature.

另请参阅 setSignature ().

void QDBusSignature:: swap ( QDBusSignature & other )

交换此 QDBusSignature 实例与 other .