19 #ifndef LIB_QUENTIER_UTILITY_QUENTIER_UNDO_COMMAND_H 20 #define LIB_QUENTIER_UTILITY_QUENTIER_UNDO_COMMAND_H 22 #include <quentier/types/ErrorString.h> 25 #include <QUndoCommand> 62 virtual void undo()
override final;
63 virtual void redo()
override final;
65 bool onceUndoExecuted()
const 67 return m_onceUndoExecuted;
74 virtual void undoImpl() = 0;
75 virtual void redoImpl() = 0;
78 bool m_onceUndoExecuted;
83 #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
Definition: DecryptedTextManager.h:26
The QuentierUndoCommand class has the sole purpose of working around one quirky aspect of Qt's undo/r...
Definition: QuentierUndoCommand.h:54