PySide6.QtDBus.QDBusObjectPath¶
- class QDBusObjectPath¶
- The - QDBusObjectPathclass enables the programmer to identify the OBJECT_PATH type provided by the D-Bus typesystem.- Details- See also - 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 - __init__()¶
 - Constructs a new object path. - __init__(path)
- Parameters:
- path – - QLatin1String
 
 - __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 - __ne__(rhs)¶
- Parameters:
- rhs – - QDBusObjectPath
- Return type:
- bool 
 
 - __lt__(rhs)¶
- Parameters:
- rhs – - QDBusObjectPath
- Return type:
- bool 
 
 - __eq__(rhs)¶
- Parameters:
- rhs – - QDBusObjectPath
- Return type:
- bool 
 
 - path()¶
- Return type:
- str 
 
 - Returns this object path. - See also - setPath(path)¶
- Parameters:
- path – str 
 
 - Assigns the value of the given - pathto this object path.- See also - swap(other)¶
- Parameters:
- other – - QDBusObjectPath
 
 - Swaps this object path with - other. This operation is very fast and never fails.