|
Krita Source Code Documentation
|
Inheritance diagram for MoveGroupCommand:Public Member Functions | |
| MoveGroupCommand (KoColorSet *colorSet, QString groupName, const QString &groupNameInsertBefore) | |
| void | redo () override |
| redo the command | |
| void | undo () override |
| revert the actions done in redo | |
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 | |
| KoColorSet * | m_colorSet |
| QString | m_groupName |
| QString | m_groupNameInsertBefore |
| int | m_newIndex |
| int | m_oldIndex |
Definition at line 219 of file KoColorSet.cpp.
|
inline |
Definition at line 222 of file KoColorSet.cpp.
References KoColorSet::d, m_colorSet, m_groupName, m_groupNameInsertBefore, m_newIndex, and m_oldIndex.
|
inlineoverridevirtual |
redo the command
Reimplemented from KUndo2Command.
Definition at line 243 of file KoColorSet.cpp.
References KoColorSet::d, KoColorSet::GLOBAL_GROUP_NAME, KoColorSet::layoutAboutToChange(), KoColorSet::layoutChanged(), m_colorSet, m_groupName, m_groupNameInsertBefore, m_newIndex, and m_oldIndex.
|
inlineoverridevirtual |
revert the actions done in redo
Reimplemented from KUndo2Command.
Definition at line 257 of file KoColorSet.cpp.
References KoColorSet::d, KoColorSet::layoutAboutToChange(), KoColorSet::layoutChanged(), m_colorSet, m_newIndex, and m_oldIndex.
|
private |
Definition at line 266 of file KoColorSet.cpp.
|
private |
Definition at line 267 of file KoColorSet.cpp.
|
private |
Definition at line 268 of file KoColorSet.cpp.
|
private |
Definition at line 270 of file KoColorSet.cpp.
|
private |
Definition at line 269 of file KoColorSet.cpp.