|
kwave
18.07.70
|
Public Member Functions | |
| Undo (Kwave::SelectionTracker *selection) | |
| virtual | ~Undo () 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 Kwave::UndoAction * | undo (Kwave::SignalManager &manager, bool with_redo) Q_DECL_OVERRIDE |
| virtual bool | containsModification () const Q_DECL_OVERRIDE |
| virtual void | dump (const QString &indent) Q_DECL_OVERRIDE |
Public Member Functions inherited from Kwave::UndoAction | |
| virtual | ~UndoAction () |
Private Attributes | |
| QPointer< Kwave::SelectionTracker > | m_tracker |
| QList< QUuid > | m_tracks |
| sample_index_t | m_offset |
| sample_index_t | m_length |
Undo action for tracking selection changes
Definition at line 209 of file SelectionTracker.h.
|
explicit |
Constructor
| selection | pointer to the corresponding selection tracker |
Definition at line 385 of file SelectionTracker.cpp.
|
virtual |
|
inlinevirtual |
This undo action does not contribute to the modification of the signal.
Reimplemented from Kwave::UndoAction.
Definition at line 267 of file SelectionTracker.h.
|
virtual |
Returns a verbose short description of the action.
Implements Kwave::UndoAction.
Definition at line 400 of file SelectionTracker.cpp.
|
inlinevirtual |
dump, for debugging purposes
Reimplemented from Kwave::UndoAction.
Definition at line 272 of file SelectionTracker.h.
References DBG.
|
virtual |
Returns the difference of needed memory that is needed for redo.
Implements Kwave::UndoAction.
Definition at line 412 of file SelectionTracker.cpp.
|
virtual |
Stores the data needed for undo.
| manager | the SignalManager for modifying the signal |
Implements Kwave::UndoAction.
Definition at line 418 of file SelectionTracker.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 425 of file SelectionTracker.cpp.
References m_length, m_offset, m_tracker, and m_tracks.
|
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 406 of file SelectionTracker.cpp.
|
private |
|
private |
start of the selection, first sample
Definition at line 285 of file SelectionTracker.h.
Referenced by undo().
|
private |
pointer to the overview cache
Definition at line 279 of file SelectionTracker.h.
Referenced by undo().
|
private |