|
Krita Source Code Documentation
|
#include <kis_undo_stores.h>
Inheritance diagram for KisSurrogateUndoStore:Public Member Functions | |
| void | addCommand (KUndo2Command *cmd) override |
| void | beginMacro (const KUndo2MagicString ¯oName) override |
| void | clear () |
| void | endMacro () override |
| KisSurrogateUndoStore () | |
| const KUndo2Command * | presentCommand () override |
| void | purgeRedoState () override |
| void | redo () |
| void | redoAll () |
| void | undo () |
| void | undoAll () |
| void | undoLastCommand () override |
| ~KisSurrogateUndoStore () override | |
Public Member Functions inherited from KisUndoStore | |
| KisUndoStore () | |
| virtual | ~KisUndoStore () |
Private Attributes | |
| KUndo2Stack * | m_undoStack |
Additional Inherited Members | |
Signals inherited from KisUndoStore | |
| void | historyStateChanged () |
KisSurrogateUndoAdapter – saves commands directly to the internal stack. Used for wrapping around legacy code into a single command.
Definition at line 21 of file kis_undo_stores.h.
| KisSurrogateUndoStore::KisSurrogateUndoStore | ( | ) |
Definition at line 16 of file kis_undo_stores.cpp.
References connect(), KisUndoStore::historyStateChanged(), and m_undoStack.
|
override |
Definition at line 23 of file kis_undo_stores.cpp.
References KisUndoStore::historyStateChanged(), and m_undoStack.
|
overridevirtual |
Implements KisUndoStore.
Definition at line 40 of file kis_undo_stores.cpp.
References m_undoStack, and KUndo2QStack::push().
|
overridevirtual |
Implements KisUndoStore.
Definition at line 46 of file kis_undo_stores.cpp.
References KUndo2QStack::beginMacro(), and m_undoStack.
| void KisSurrogateUndoStore::clear | ( | ) |
Definition at line 71 of file kis_undo_stores.cpp.
References KUndo2QStack::clear(), and m_undoStack.
|
overridevirtual |
Implements KisUndoStore.
Definition at line 51 of file kis_undo_stores.cpp.
References KUndo2QStack::endMacro(), and m_undoStack.
|
overridevirtual |
WARNING: All these methods are not considered as thread-safe
Implements KisUndoStore.
Definition at line 30 of file kis_undo_stores.cpp.
References KUndo2QStack::command(), KUndo2QStack::index(), and m_undoStack.
|
overridevirtual |
Implements KisUndoStore.
Definition at line 66 of file kis_undo_stores.cpp.
References m_undoStack, and KUndo2QStack::purgeRedoState().
| void KisSurrogateUndoStore::redo | ( | ) |
Definition at line 61 of file kis_undo_stores.cpp.
References m_undoStack, and KUndo2QStack::redo().
| void KisSurrogateUndoStore::redoAll | ( | ) |
Definition at line 83 of file kis_undo_stores.cpp.
References KUndo2QStack::canRedo(), m_undoStack, and KUndo2QStack::redo().
| void KisSurrogateUndoStore::undo | ( | ) |
Definition at line 56 of file kis_undo_stores.cpp.
References m_undoStack, and KUndo2QStack::undo().
| void KisSurrogateUndoStore::undoAll | ( | ) |
Definition at line 76 of file kis_undo_stores.cpp.
References KUndo2QStack::canUndo(), m_undoStack, and KUndo2QStack::undo().
|
overridevirtual |
Implements KisUndoStore.
Definition at line 35 of file kis_undo_stores.cpp.
References m_undoStack, and KUndo2QStack::undo().
|
private |
Definition at line 44 of file kis_undo_stores.h.