PyANGKernel.GKObjectConnectionDelCmd¶
- class GKObjectConnectionDelCmd¶
Command to delete a connection between two objects
Details
The main difference with the generic delete command (
GKObjectDelCmd) is the method init, which requires the pointers to both connected objectsSynopsis¶
Methods¶
def
__init__()
Virtual 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__()¶
- doit()¶
Removes the connections.
- init(connectionOwner, deletedObject)¶
Sets the pointers to both connected objects. The pointers are adopted
Returns true if the command has been done, false otherwise.
- setDone(avalue)¶
- Parameters:
avalue – bool
Sets the command as done/undone.
See also
- undoit()¶
Restores the connections.