CopperSpice DBUS  1.7.4
QDBusObjectPath Class Reference

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

Public Methods

 QDBusObjectPath () noexcept
 
 QDBusObjectPath (const QString &path)
 
 QDBusObjectPath (QString &&path)
 
QString path () const
 
void setPath (const QString &path)
 
void swap (QDBusObjectPath &other) noexcept
 

Detailed Description

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

See also
DBus Type System

Constructor & Destructor Documentation

QDBusObjectPath::QDBusObjectPath ( )
inlinenoexcept

Constructs a new object path.

QDBusObjectPath::QDBusObjectPath ( const QString &  path)
inlineexplicit

Copy constructs a new QDBusObjectPath from path.

QDBusObjectPath::QDBusObjectPath ( QString &&  path)
inlineexplicit

Move constructs a new QDBusObjectPath from path.

Method Documentation

QString QDBusObjectPath::path ( ) const
inline

Returns this object path.

See also
setPath()
void QDBusObjectPath::setPath ( const QString &  path)
inline

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

See also
path()
void QDBusObjectPath::swap ( QDBusObjectPath &  other)
inlinenoexcept

Swaps other with this object. This operation is very fast and never fails.