kwave  18.07.70
UndoInsertTrack.h
Go to the documentation of this file.
1 /***************************************************************************
2  UndoInsertTrack.h - Undo action for insertion of tracks
3  -------------------
4  begin : Sun Jun 24 2001
5  copyright : (C) 2001 by Thomas Eschenbacher
6  email : Thomas Eschenbacher <Thomas.Eschenbacher@gmx.de>
7 
8  ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 
19 #ifndef UNDO_INSERT_TRACK_H
20 #define UNDO_INSERT_TRACK_H
21 
22 #include "config.h"
23 
24 #include <QString>
25 
27 
28 namespace Kwave
29 {
30 
31  class Signal;
32 
37  {
38 
39  public:
40 
46  UndoInsertTrack(Kwave::Signal &signal, unsigned int track);
47 
49  virtual ~UndoInsertTrack() Q_DECL_OVERRIDE;
50 
54  virtual QString description() Q_DECL_OVERRIDE;
55 
57  virtual qint64 undoSize() Q_DECL_OVERRIDE;
58 
60  virtual qint64 redoSize() Q_DECL_OVERRIDE;
61 
63  virtual bool store(Kwave::SignalManager &manager) Q_DECL_OVERRIDE;
64 
67  bool with_redo) Q_DECL_OVERRIDE;
68 
69  protected:
70 
73 
75  unsigned int m_track;
76 
77  };
78 }
79 
80 #endif /* UNDO_INSERT_TRACK_H */
81 
82 //***************************************************************************
83 //***************************************************************************
virtual qint64 undoSize() Q_DECL_OVERRIDE
Definition: App.h:33
virtual QString description() Q_DECL_OVERRIDE
virtual bool store(Kwave::SignalManager &manager) Q_DECL_OVERRIDE
Kwave::Signal & m_signal
virtual qint64 redoSize() Q_DECL_OVERRIDE
virtual ~UndoInsertTrack() Q_DECL_OVERRIDE
UndoInsertTrack(Kwave::Signal &signal, unsigned int track)
virtual Kwave::UndoAction * undo(Kwave::SignalManager &manager, bool with_redo) Q_DECL_OVERRIDE