|
Krita Source Code Documentation
|
Inheritance diagram for UpdateMovedNodesCommand:Public Member Functions | |
| void | partB () override |
| UpdateMovedNodesCommand (BatchMoveUpdateDataSP updateData, bool finalize, KUndo2Command *parent=0) | |
Public Member Functions inherited from KisCommandUtils::FlipFlopCommand | |
| FlipFlopCommand (bool finalizing=false, KUndo2Command *parent=0) | |
| FlipFlopCommand (State initialState, KUndo2Command *parent=0) | |
| void | redo () override |
| void | undo () override |
Public Member Functions inherited from KUndo2Command | |
| QString | actionText () const |
| virtual bool | canAnnihilateWith (const KUndo2Command *other) const |
| const KUndo2Command * | child (int index) const |
| int | childCount () const |
| virtual QTime | endTime () const |
| KUndo2CommandExtraData * | extraData () const |
| bool | hasParent () const |
| virtual int | id () const |
| virtual bool | isMerged () const |
| KUndo2Command (const KUndo2MagicString &text, KUndo2Command *parent=0) | |
| KUndo2Command (KUndo2Command *parent=0) | |
| virtual QVector< KUndo2Command * > | mergeCommandsVector () const |
| virtual bool | mergeWith (const KUndo2Command *other) |
| virtual void | redoMergedCommands () |
| void | setEndTime () |
| virtual void | setEndTime (const QTime &time) |
| void | setExtraData (KUndo2CommandExtraData *data) |
| void | setText (const KUndo2MagicString &text) |
| void | setTime () |
| virtual void | setTime (const QTime &time) |
| virtual void | setTimedID (int timedID) |
| KUndo2MagicString | text () const |
| virtual QTime | time () const |
| virtual int | timedId () const |
| virtual bool | timedMergeWith (KUndo2Command *other) |
| virtual void | undoMergedCommands () |
| virtual | ~KUndo2Command () |
Private Attributes | |
| BatchMoveUpdateDataSP | m_updateData |
Additional Inherited Members | |
Public Types inherited from KisCommandUtils::FlipFlopCommand | |
| enum | State { INITIALIZING , FINALIZING } |
Protected Member Functions inherited from KisCommandUtils::FlipFlopCommand | |
| State | getState () const |
| bool | isFirstRedo () const |
| virtual void | partA () |
A command that emits a update signals on the compressed move undo or redo.
Definition at line 244 of file kis_node_juggler_compressed.cpp.
|
inline |
Definition at line 247 of file kis_node_juggler_compressed.cpp.
|
inlineoverridevirtual |
When doing the first redo() some of the updates might have already been executed by the juggler itself, so we should process 'unhandled' updates only
When being executed by real undo/redo operations, we should Q_EMIT all the update signals. No one else will do that for us (juggler, which did it in the previous case, might have already died).
Reimplemented from KisCommandUtils::FlipFlopCommand.
Definition at line 253 of file kis_node_juggler_compressed.cpp.
References KisCommandUtils::FlipFlopCommand::FINALIZING, KisCommandUtils::FlipFlopCommand::getState(), KisCommandUtils::FlipFlopCommand::isFirstRedo(), and m_updateData.
|
private |
Definition at line 274 of file kis_node_juggler_compressed.cpp.