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;
The ErrorString class encapsulates two (or more) strings which are meant to contain translatable (bas...
Definition ErrorString.h:44
The QuentierUndoCommand class has the sole purpose of working around one quirky aspect of Qt's undo/r...
Definition QuentierUndoCommand.h:55