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 objects

Synopsis

Methods

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)
Parameters:
Return type:

bool

Sets the pointers to both connected objects. The pointers are adopted

isDone()
Return type:

bool

Returns true if the command has been done, false otherwise.

setDone(avalue)
Parameters:

avalue – bool

Sets the command as done/undone.

See also

isDone()

undoit()

Restores the connections.