|
Krita Source Code Documentation
|
Inheritance diagram for SetColumnCountCommand:Public Member Functions | |
| void | redo () override |
| redo the command | |
| SetColumnCountCommand (KoColorSet *colorSet, int columnCount) | |
| 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 |
| int | m_columnsCount |
| int | m_oldColumnsCount |
Definition at line 424 of file KoColorSet.cpp.
|
inline |
Definition at line 426 of file KoColorSet.cpp.
|
inlineoverridevirtual |
redo the command
Reimplemented from KUndo2Command.
Definition at line 434 of file KoColorSet.cpp.
References KoColorSet::d, KoColorSet::layoutAboutToChange(), KoColorSet::layoutChanged(), m_colorSet, and m_columnsCount.
|
inlineoverridevirtual |
revert the actions done in redo
Reimplemented from KUndo2Command.
Definition at line 446 of file KoColorSet.cpp.
References KoColorSet::d, KoColorSet::layoutAboutToChange(), KoColorSet::layoutChanged(), m_colorSet, and m_oldColumnsCount.
|
private |
Definition at line 457 of file KoColorSet.cpp.
|
private |
Definition at line 458 of file KoColorSet.cpp.
|
private |
Definition at line 459 of file KoColorSet.cpp.