21#include <quentier/types/ErrorString.h>
24#include <QUndoCommand>
26namespace quentier::utility {
64 [[nodiscard]]
bool onceUndoExecuted()
const noexcept
66 return m_onceUndoExecuted;
73 virtual void undoImpl() = 0;
74 virtual void redoImpl() = 0;
77 bool m_onceUndoExecuted =
false;
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:54