kwave
18.07.70
|
#include <UndoReverseAction.h>
Public Member Functions | |
UndoReverseAction (Kwave::PluginManager &plugin_manager) | |
virtual | ~UndoReverseAction () Q_DECL_OVERRIDE |
virtual QString | description () Q_DECL_OVERRIDE |
virtual qint64 | undoSize () Q_DECL_OVERRIDE |
virtual qint64 | redoSize () Q_DECL_OVERRIDE |
virtual bool | store (Kwave::SignalManager &manager) Q_DECL_OVERRIDE |
virtual UndoAction * | undo (Kwave::SignalManager &manager, bool with_redo) Q_DECL_OVERRIDE |
![]() | |
virtual | ~UndoAction () |
virtual bool | containsModification () const |
virtual void | dump (const QString &indent) |
Private Attributes | |
Kwave::PluginManager & | m_plugin_manager |
Definition at line 33 of file UndoReverseAction.h.
|
explicit |
Constructor
Definition at line 30 of file UndoReverseAction.cpp.
|
virtual |
|
virtual |
Returns a verbose short description of the action.
Implements Kwave::UndoAction.
Definition at line 42 of file UndoReverseAction.cpp.
|
virtual |
Returns the difference of needed memory that is needed for redo.
Implements Kwave::UndoAction.
Definition at line 54 of file UndoReverseAction.cpp.
|
virtual |
Stores the data needed for undo.
manager | the SignalManager for modifying the signal |
Implements Kwave::UndoAction.
Definition at line 60 of file UndoReverseAction.cpp.
|
virtual |
Takes back an action by creating a new undo action (for further redo) and restoring the previous state.
manager | the SignalManager for modifying the signal |
with_redo | if true a UndoAction for redo will be created |
Implements Kwave::UndoAction.
Definition at line 67 of file UndoReverseAction.cpp.
References _, Kwave::PluginManager::enqueueCommand(), and m_plugin_manager.
|
virtual |
Returns the required amount of memory that is needed for storing undo data for the operation. This will be called to determine the free memory to be reserved.
Implements Kwave::UndoAction.
Definition at line 48 of file UndoReverseAction.cpp.
|
private |
plugin manager, for emitting the sigCommand(reverse())
Definition at line 86 of file UndoReverseAction.h.
Referenced by undo().