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 (QLatin1StringView signature ) | |
| QDBusSignature (const QString & signature ) | |
| QDBusSignature (const char * signature ) | |
| void | setSignature (const QString & signature ) |
| QString | signature () const |
| void | swap (QDBusSignature & other ) |
另請參閱 Qt D-Bus 類型係統 .
[noexcept]
QDBusSignature::
QDBusSignature
()
Constructs a new signature.
另請參閱 setSignature ().
[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 .
[explicit]
QDBusSignature::
QDBusSignature
(const
char
*
signature
)
Constructs a new signature from the given signature .
Assigns the value of the given signature to this signature.
另請參閱 signature ().
Returns this signature.
另請參閱 setSignature ().
[noexcept]
void
QDBusSignature::
swap
(
QDBusSignature
&
other
)
Swaps this signature with other 。此操作很快且從不失敗。