|
Krita Source Code Documentation
|
the base command for commands altering a node More...
#include <kis_node_command.h>
Inheritance diagram for KisNodeCommand:Public Member Functions | |
| KisNodeCommand (const KUndo2MagicString &name, KisNodeSP node) | |
| ~KisNodeCommand () 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 | redo () |
| 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 | undo () |
| virtual void | undoMergedCommands () |
| virtual | ~KUndo2Command () |
Protected Attributes | |
| KisNodeSP | m_node |
the base command for commands altering a node
Definition at line 17 of file kis_node_command.h.
| KisNodeCommand::KisNodeCommand | ( | const KUndo2MagicString & | name, |
| KisNodeSP | node ) |
Constructor
| name | The name that will be shown in the ui |
| node | The node the command will be working on. |
Definition at line 12 of file kis_node_command.cpp.
|
override |
Definition at line 17 of file kis_node_command.cpp.
|
protected |
Definition at line 30 of file kis_node_command.h.