QDBusObjectPath 类

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

头: #include <QDBusObjectPath>
qmake: QT += dbus
Since: 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.

另请参阅 Qt D-Bus 类型系统 .

成员函数文档编制

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 )

交换此 QDBusObjectPath 实例与 other .