QDBusObjectPath Class

The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem. More...

Header: #include <QDBusObjectPath>
qmake: QT += dbus
Since: Qt 4.2

Public Functions

QDBusObjectPath()
QDBusObjectPath(const char *path)
QDBusObjectPath(QLatin1String path)
QDBusObjectPath(const QString &path)
QDBusObjectPath(QString &&p)
QString path() const
void setPath(const QString &path)
void swap(QDBusObjectPath &other)

Detailed Description

The QDBusObjectPath class enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem.

See also The Qt D-Bus Type System.

Member Function Documentation

QDBusObjectPath::QDBusObjectPath()

Constructs a new object path.

QDBusObjectPath::QDBusObjectPath(const char *path)

Constructs a new object path from the given path.

See also setPath().

QDBusObjectPath::QDBusObjectPath(QLatin1String path)

Constructs a new object path from the given path.

QDBusObjectPath::QDBusObjectPath(const QString &path)

Constructs a new object path from the given path.

QDBusObjectPath::QDBusObjectPath(QString &&p)

Default constructs an instance of QDBusObjectPath.

QString QDBusObjectPath::path() const

Returns this object path.

See also setPath().

void QDBusObjectPath::setPath(const QString &path)

Assigns the value of the given path to this object path.

See also path().

void QDBusObjectPath::swap(QDBusObjectPath &other)

Swaps this QDBusObjectPath instance with other.

© 2021 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.