QDBusObjectPath Class
La classe QDBusObjectPath permet au programmeur d'identifier le type OBJECT_PATH fourni par le système de type D-Bus. Plus d'informations...
| En-tête : | #include <QDBusObjectPath> |
| CMake : | find_package(Qt6 REQUIRED COMPONENTS DBus)target_link_libraries(mytarget PRIVATE Qt6::DBus) |
| qmake : | QT += dbus |
Fonctions publiques
| 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 |
Non-membres apparentés
(since 6.8) QDebug | operator<<(QDebug dbg, const QDBusObjectPath &path) |
Voir également le système de types Qt D-Bus .
Documentation sur les fonctions membres
[noexcept] QDBusObjectPath::QDBusObjectPath()
Construit un nouveau chemin d'accès à l'objet.
[explicit] QDBusObjectPath::QDBusObjectPath(QLatin1StringView path)
Construit un nouveau chemin d'objet à partir de la chaîne Latin-1 visualisée par path.
[explicit] QDBusObjectPath::QDBusObjectPath(const QString &path)
Construit un nouveau chemin d'objet à partir de path.
[explicit] QDBusObjectPath::QDBusObjectPath(const char *path)
Construit un nouveau chemin d'objet à partir de l'adresse path.
Voir aussi setPath().
QString QDBusObjectPath::path() const
Renvoie le chemin de cet objet.
Voir aussi setPath().
void QDBusObjectPath::setPath(const QString &path)
Affecte la valeur de l'adresse path donnée à ce chemin d'accès à l'objet.
Voir aussi path().
[noexcept] void QDBusObjectPath::swap(QDBusObjectPath &other)
Remplace ce chemin d'accès à l'objet par le chemin d'accès à l'objet other. Cette opération est très rapide et n'échoue jamais.
QDBusObjectPath::operator QVariant() const
Fusion implicite avec QVariant, ce qui équivaut à appeler QVariant::fromValue() avec cet objet en tant qu'argument.
Non-membres apparentés
[since 6.8] QDebug operator<<(QDebug dbg, const QDBusObjectPath &path)
Écrit le contenu de path dans dbg.
Cette fonction a été introduite dans 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.