kwave  18.07.70
UndoReverseAction.h
Go to the documentation of this file.
1 /***************************************************************************
2  UndoReverseAction.h - undo action for the "reverse" effect
3  -------------------
4  begin : Wed Jun 24 2009
5  copyright : (C) 2009 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_REVERSE_ACTION_H
20 #define UNDO_REVERSE_ACTION_H
21 
22 #include "config.h"
23 
25 #include <QString>
26 
27 namespace Kwave
28 {
29 
30  class PluginManager;
31  class SignalManager;
32 
34  {
35  public:
36 
38  explicit UndoReverseAction(Kwave::PluginManager &plugin_manager);
39 
41  virtual ~UndoReverseAction() Q_DECL_OVERRIDE;
42 
46  virtual QString description() Q_DECL_OVERRIDE;
47 
54  virtual qint64 undoSize() Q_DECL_OVERRIDE;
55 
60  virtual qint64 redoSize() Q_DECL_OVERRIDE;
61 
68  virtual bool store(Kwave::SignalManager &manager) Q_DECL_OVERRIDE;
69 
80  virtual UndoAction *undo(Kwave::SignalManager &manager, bool with_redo)
81  Q_DECL_OVERRIDE;
82 
83  private:
84 
87 
88  };
89 }
90 
91 #endif /* UNDO_REVERSE_ACTION_H */
92 
93 //***************************************************************************
94 //***************************************************************************
virtual qint64 undoSize() Q_DECL_OVERRIDE
virtual ~UndoReverseAction() Q_DECL_OVERRIDE
UndoReverseAction(Kwave::PluginManager &plugin_manager)
Definition: App.h:33
virtual bool store(Kwave::SignalManager &manager) Q_DECL_OVERRIDE
virtual qint64 redoSize() Q_DECL_OVERRIDE
virtual UndoAction * undo(Kwave::SignalManager &manager, bool with_redo) Q_DECL_OVERRIDE
virtual QString description() Q_DECL_OVERRIDE
Kwave::PluginManager & m_plugin_manager