![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
\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 |
\memberswap{object path} | |
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 |
Friends | |
Q_DBUS_EXPORT friend QDebug | operator<< (QDebug dbg, const QDBusObjectPath &path) |
\inmodule QtDBus
The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem.
Definition at line 19 of file qdbusextratypes.h.
|
inlinenoexcept |
Constructs a new object path.
Definition at line 23 of file qdbusextratypes.h.
|
inlineexplicit |
Constructs a new object path from the given path.
Definition at line 49 of file qdbusextratypes.h.
|
inlineexplicit |
Constructs a new object path from the Latin-1 string viewed by path.
Definition at line 53 of file qdbusextratypes.h.
|
inlineexplicit |
Constructs a new object path from the given path.
Definition at line 57 of file qdbusextratypes.h.
|
inlineexplicit |
Definition at line 30 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 164 of file qdbusextratypes.cpp.
|
inline |
Assigns the value of the given path to this object path.
Definition at line 61 of file qdbusextratypes.h.
|
inlinenoexcept |
\memberswap{object path}
Definition at line 32 of file qdbusextratypes.h.
|
friend |
Definition at line 22 of file qdbusextratypes.cpp.