QDBusObjectPath Class
La classe QDBusObjectPath consente al programmatore di identificare il tipo OBJECT_PATH fornito dal sistema di tipi D-Bus. Per saperne di più...
| Intestazione: | #include <QDBusObjectPath> |
| CMake: | find_package(Qt6 REQUIRED COMPONENTS DBus) target_link_libraries(mytarget PRIVATE Qt6::DBus) |
| qmake: | QT += dbus |
Funzioni pubbliche
| QDBusObjectPath() | |
| QDBusObjectPath(QLatin1StringView path) | |
| QDBusObjectPath(const QString &path) | |
| QDBusObjectPath(const char *path) | |
| QString | path() const |
| void | setPath(const QString &path) |
| void | swap(QDBusObjectPath &other) |
| operator QVariant() const |
Elementi non membri correlati
(since 6.8) QDebug | operator<<(QDebug dbg, const QDBusObjectPath &path) |
Vedi anche Il sistema di tipi dell'Qt D-Bus .
Documentazione sulle funzioni membro
[noexcept] QDBusObjectPath::QDBusObjectPath()
Crea un nuovo percorso dell'oggetto.
[explicit] QDBusObjectPath::QDBusObjectPath(QLatin1StringView path)
Crea un nuovo percorso oggetto a partire dalla stringa in codifica Latin-1 visualizzata da path.
[explicit] QDBusObjectPath::QDBusObjectPath(const QString &path)
Crea un nuovo percorso di oggetto a partire dall'path specificato.
[explicit] QDBusObjectPath::QDBusObjectPath(const char *path)
Crea un nuovo percorso di oggetto a partire dall'path specificato.
Vedi anche setPath().
QString QDBusObjectPath::path() const
Restituisce il percorso di questo oggetto.
Vedi anche setPath().
void QDBusObjectPath::setPath(const QString &path)
Assegna il valore dell'path e specificato a questo percorso dell'oggetto.
Vedi anche path().
[noexcept] void QDBusObjectPath::swap(QDBusObjectPath &other)
Sostituisce il percorso di questo oggetto con other. Questa operazione è molto veloce e non fallisce mai.
QDBusObjectPath::operator QVariant() const
Conversione implicita in ` QVariant`. Equivalente alla chiamata a ` QVariant::fromValue()` con questo oggetto come argomento.
Elementi non membri correlati
[since 6.8] QDebug operator<<(QDebug dbg, const QDBusObjectPath &path)
Scrive il contenuto di ` path ` in ` dbg`.
Questa funzione è stata introdotta in Qt 6.8.
© 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.