QDBusObjectPath 類使程序員能夠標識由 D-Bus 類型係統提供的 OBJECT_PATH 類型。 更多...
| 頭: | #include <QDBusObjectPath> |
| qmake: | QT += dbus |
| Since: | Qt 4.2 |
該類在 Qt 4.2 引入。
| QDBusObjectPath (const QString & path ) | |
| QDBusObjectPath (QLatin1String path ) | |
| QDBusObjectPath (const char * path ) | |
| QDBusObjectPath () | |
| QString | path () const |
| void | setPath (const QString & path ) |
| void | swap (QDBusObjectPath & other ) |
| QVariant | operator QVariant () const |
另請參閱 Qt D-Bus 類型係統 .
Constructs a new object path from the given path .
Constructs a new object path from the given path .
Constructs a new object path from the given path .
另請參閱 setPath ().
Constructs a new object path.
Returns this object path.
另請參閱 setPath ().
Assigns the value of the given path to this object path.
另請參閱 path ().
交換此 QDBusObjectPath 實例與 other .
Implicit cast to QVariant 。相當於調用 QVariant::fromValue () with this object as argument.
該函數在 Qt 5.14 引入。