QDBusObjectPath Class

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

头文件: #include <QDBusObjectPath>
qmake: QT += dbus
开始支持版本: Qt 4.2

公有函数

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)

详细描述

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

参见 The Qt D-Bus Type System.

成员函数

QDBusObjectPath::QDBusObjectPath()

Constructs a new object path.

QDBusObjectPath::QDBusObjectPath(const char *path)

Constructs a new object path from the given path.

参见 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.

参见 setPath().

void QDBusObjectPath::setPath(const QString &path)

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

参见 path().

void QDBusObjectPath::swap(QDBusObjectPath &other)