class QDBusObjectPath#

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

Synopsis#

Methods#

Note

This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE

Detailed Description#

__init__()#

Constructs a new object path.

__init__(path)
Parameters:

pathQLatin1String

__init__(path)
Parameters:

path – str

Constructs a new object path from the given path.

__init__(path)
Parameters:

path – str

Constructs a new object path from the given path.

See also

setPath()

__ne__(rhs)#
Parameters:

rhsQDBusObjectPath

Return type:

bool

__lt__(rhs)#
Parameters:

rhsQDBusObjectPath

Return type:

bool

__eq__(rhs)#
Parameters:

rhsQDBusObjectPath

Return type:

bool

path()#
Return type:

str

Returns this object path.

See also

setPath()

setPath(path)#
Parameters:

path – str

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

See also

path()

swap(other)#
Parameters:

otherQDBusObjectPath

Swaps this QDBusObjectPath instance with other.