kwave
18.07.70
|
#include <UndoInsertTrack.h>
Public Member Functions | |
UndoInsertTrack (Kwave::Signal &signal, unsigned int track) | |
virtual | ~UndoInsertTrack () 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 | ~UndoAction () |
virtual bool | containsModification () const |
virtual void | dump (const QString &indent) |
Protected Attributes | |
Kwave::Signal & | m_signal |
unsigned int | m_track |
Undo action for inserting a track.
Definition at line 36 of file UndoInsertTrack.h.
Kwave::UndoInsertTrack::UndoInsertTrack | ( | Kwave::Signal & | signal, |
unsigned int | track | ||
) |
Constructor
signal | reference to the signal |
track | index of the inserted track. |
Definition at line 30 of file UndoInsertTrack.cpp.
|
virtual |
|
virtual |
Returns a verbose short description of the action.
Implements Kwave::UndoAction.
Definition at line 42 of file UndoInsertTrack.cpp.
|
virtual |
Implements Kwave::UndoAction.
Definition at line 54 of file UndoInsertTrack.cpp.
References Kwave::Signal::length(), and m_signal.
|
virtual |
Implements Kwave::UndoAction.
Definition at line 60 of file UndoInsertTrack.cpp.
|
virtual |
Implements Kwave::UndoAction.
Definition at line 68 of file UndoInsertTrack.cpp.
References Kwave::Signal::deleteTrack(), m_signal, m_track, and Kwave::UndoAction::store().
|
virtual |
Implements Kwave::UndoAction.
Definition at line 48 of file UndoInsertTrack.cpp.
|
protected |
Reference to the signal
Definition at line 72 of file UndoInsertTrack.h.
Referenced by redoSize(), and undo().
|
protected |