![]() |
Qt 6.x
The Qt SDK
|
\inmodule QtDBus More...
#include <qdbusextratypes.h>
Public Member Functions | |
QDBusObjectPath () noexcept | |
Constructs a new object path. | |
QDBusObjectPath (const char *path) | |
Constructs a new object path from the given path. | |
QDBusObjectPath (QLatin1StringView path) | |
Constructs a new object path from the Latin-1 string viewed by path. | |
QDBusObjectPath (const QString &path) | |
Constructs a new object path from the given path. | |
QDBusObjectPath (QString &&p) | |
void | swap (QDBusObjectPath &other) noexcept |
Swaps this QDBusObjectPath instance with other. | |
void | setPath (const QString &path) |
Assigns the value of the given path to this object path. | |
QString | path () const |
Returns this object path. | |
operator QVariant () const | |
\inmodule QtDBus
The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem.
Definition at line 18 of file qdbusextratypes.h.
|
inlinenoexcept |
Constructs a new object path.
Definition at line 22 of file qdbusextratypes.h.
|
inlineexplicit |
Constructs a new object path from the given path.
Definition at line 45 of file qdbusextratypes.h.
|
inlineexplicit |
Constructs a new object path from the Latin-1 string viewed by path.
Definition at line 49 of file qdbusextratypes.h.
|
inlineexplicit |
Constructs a new object path from the given path.
Definition at line 53 of file qdbusextratypes.h.
|
inlineexplicit |
Definition at line 29 of file qdbusextratypes.h.
QDBusObjectPath::operator QVariant | ( | ) | const |
Implicit cast to QVariant. Equivalent to calling QVariant::fromValue() with this object as argument.
Definition at line 143 of file qdbusextratypes.cpp.
References QVariant::fromValue().
|
inline |
Returns this object path.
Definition at line 35 of file qdbusextratypes.h.
Referenced by getPrimaryDevice(), operator!=(), operator<(), operator==(), and qHash().
Assigns the value of the given path to this object path.
Definition at line 57 of file qdbusextratypes.h.
|
inlinenoexcept |
Swaps this QDBusObjectPath instance with other.
Definition at line 31 of file qdbusextratypes.h.
References other().