|
kwave
18.07.70
|
#include <UndoDeleteTrack.h>


Public Member Functions | |
| UndoDeleteTrack (Kwave::Signal &signal, unsigned int track) | |
| virtual | ~UndoDeleteTrack () Q_DECL_OVERRIDE |
| virtual QString | description () Q_DECL_OVERRIDE |
| virtual qint64 | undoSize () Q_DECL_OVERRIDE |
| virtual qint64 | redoSize () Q_DECL_OVERRIDE |
| virtual bool | store (SignalManager &manager) Q_DECL_OVERRIDE |
| virtual Kwave::UndoAction * | undo (Kwave::SignalManager &manager, bool with_redo) Q_DECL_OVERRIDE |
Public Member Functions inherited from Kwave::UndoAction | |
| virtual | ~UndoAction () |
| virtual bool | containsModification () const |
| virtual void | dump (const QString &indent) |
Protected Attributes | |
| Kwave::Signal & | m_signal |
| unsigned int | m_track |
| sample_index_t | m_length |
| QList< Kwave::Stripe::List > | m_stripes |
| QUuid | m_uuid |
Undo action for deleting a track.
Definition at line 39 of file UndoDeleteTrack.h.
| Kwave::UndoDeleteTrack::UndoDeleteTrack | ( | Kwave::Signal & | signal, |
| unsigned int | track | ||
| ) |
Constructor
| signal | reference to the signal |
| track | index of the deleted track. |
Definition at line 30 of file UndoDeleteTrack.cpp.
|
virtual |
|
virtual |
Returns a verbose short description of the action.
Implements Kwave::UndoAction.
Definition at line 43 of file UndoDeleteTrack.cpp.
|
virtual |
Implements Kwave::UndoAction.
Definition at line 55 of file UndoDeleteTrack.cpp.
|
virtual |
Implements Kwave::UndoAction.
Definition at line 61 of file UndoDeleteTrack.cpp.
References m_length, m_stripes, m_track, and Kwave::SignalManager::stripes().

|
virtual |
Implements Kwave::UndoAction.
Definition at line 76 of file UndoDeleteTrack.cpp.
References Kwave::Signal::insertTrack(), m_length, m_signal, m_stripes, m_track, m_uuid, Kwave::SignalManager::mergeStripes(), and Kwave::UndoAction::store().

|
virtual |
Implements Kwave::UndoAction.
Definition at line 49 of file UndoDeleteTrack.cpp.
References m_length.
|
protected |
Length of the track in samples
Definition at line 80 of file UndoDeleteTrack.h.
Referenced by store(), undo(), and undoSize().
|
protected |
|
protected |
storage for all deleted stripes
Definition at line 83 of file UndoDeleteTrack.h.
|
protected |
Index of the deleted track
Definition at line 77 of file UndoDeleteTrack.h.
|
protected |
unique ID of the deleted track
Definition at line 86 of file UndoDeleteTrack.h.
Referenced by undo().