QDBusObjectPath#

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

Synopsis#

Functions#

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#

class PySide6.QtDBus.QDBusObjectPath#

PySide6.QtDBus.QDBusObjectPath(path)

PySide6.QtDBus.QDBusObjectPath(path)

Parameters:

path – str

Constructs a new object path.

Constructs a new object path from the given path.

Constructs a new object path from the given path.

See also

setPath()

PySide6.QtDBus.QDBusObjectPath.__ne__(rhs)#
Parameters:

rhsPySide6.QtDBus.QDBusObjectPath

Return type:

bool

PySide6.QtDBus.QDBusObjectPath.__lt__(rhs)#
Parameters:

rhsPySide6.QtDBus.QDBusObjectPath

Return type:

bool

PySide6.QtDBus.QDBusObjectPath.__eq__(rhs)#
Parameters:

rhsPySide6.QtDBus.QDBusObjectPath

Return type:

bool

PySide6.QtDBus.QDBusObjectPath.path()#
Return type:

str

Returns this object path.

See also

setPath()

PySide6.QtDBus.QDBusObjectPath.setPath(path)#
Parameters:

path – str

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

See also

path()

PySide6.QtDBus.QDBusObjectPath.swap(other)#
Parameters:

otherPySide6.QtDBus.QDBusObjectPath

Swaps this QDBusObjectPath instance with other.