The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem. More...
Header: | #include <QDBusObjectPath> |
CMake: | find_package(Qt6 REQUIRED COMPONENTS Dbus) target_link_libraries(mytarget PRIVATE Qt6::Dbus) |
qmake: | QT += dbus |
QDBusObjectPath(const QString &path) | |
QDBusObjectPath(QLatin1StringView path) | |
QDBusObjectPath(const char *path) | |
QDBusObjectPath() | |
QString | path() const |
void | setPath(const QString &path) |
void | swap(QDBusObjectPath &other) |
QVariant | operator QVariant() const |
See also The Qt D-Bus Type System.
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.
See also setPath().
Constructs a new object path.
Returns this object path.
See also setPath().
Assigns the value of the given path to this object path.
See also path().
Swaps this QDBusObjectPath instance with other.
[since 5.14]
QVariant QDBusObjectPath::operator QVariant() constImplicit cast to QVariant. Equivalent to calling QVariant::fromValue() with this object as argument.
This function was introduced in Qt 5.14.
As part of the free Business evaluation, we offer a free welcome call for companies, to talk about your requirements, and how the Felgo SDK & Services can help you. Just sign up and schedule your call.
Sign up now to start your free Business evaluation: