19 #ifndef LIB_QUENTIER_UTILITY_QUENTIER_UNDO_COMMAND_H 20 #define LIB_QUENTIER_UTILITY_QUENTIER_UNDO_COMMAND_H 22 #include <quentier/types/ErrorString.h> 23 #include <quentier/utility/Macros.h> 26 #include <QUndoCommand> 63 virtual void undo()
override final;
64 virtual void redo()
override final;
66 bool onceUndoExecuted()
const {
return m_onceUndoExecuted; }
72 virtual void undoImpl() = 0;
73 virtual void redoImpl() = 0;
76 bool m_onceUndoExecuted;
81 #endif // LIB_QUENTIER_UTILITY_QUENTIER_UNDO_COMMAND_H The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition: ErrorString.h:43
The QuentierUndoCommand class has the sole purpose of working around one quirky aspect of Qt's undo/r...
Definition: QuentierUndoCommand.h:55