kwave  18.07.70
UndoDeleteMetaDataAction.h
Go to the documentation of this file.
1 /***************************************************************************
2  UndoDeleteMetaDataAction.h - Undo action for deleting meta data
3  -------------------
4  begin : Wed Aug 16 2006
5  copyright : (C) 2006 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_DELETE_META_DATA_ACTION_H
20 #define UNDO_DELETE_META_DATA_ACTION_H
21 
22 #include "config.h"
23 #include <QString>
24 
25 #include "libkwave/MetaDataList.h"
27 
28 namespace Kwave
29 {
30 
31  class SignalManager;
32 
37  {
38  public:
39 
44  explicit UndoDeleteMetaDataAction(const Kwave::MetaDataList &meta_data);
45 
47  virtual ~UndoDeleteMetaDataAction() Q_DECL_OVERRIDE;
48 
52  virtual QString description() Q_DECL_OVERRIDE;
53 
55  virtual qint64 undoSize() Q_DECL_OVERRIDE;
56 
58  virtual qint64 redoSize() Q_DECL_OVERRIDE;
59 
61  virtual bool store(Kwave::SignalManager &manager) Q_DECL_OVERRIDE;
62 
65  bool with_redo) Q_DECL_OVERRIDE;
66 
68  virtual void dump(const QString &indent) Q_DECL_OVERRIDE;
69 
70  protected:
71 
74 
75  };
76 }
77 
78 #endif /* UNDO_DELETE_META_DATA_ACTION_H */
79 
80 //***************************************************************************
81 //***************************************************************************
virtual Kwave::UndoAction * undo(Kwave::SignalManager &manager, bool with_redo) Q_DECL_OVERRIDE
Definition: App.h:33
UndoDeleteMetaDataAction(const Kwave::MetaDataList &meta_data)
virtual bool store(Kwave::SignalManager &manager) Q_DECL_OVERRIDE
virtual QString description() Q_DECL_OVERRIDE
virtual qint64 redoSize() Q_DECL_OVERRIDE
virtual ~UndoDeleteMetaDataAction() Q_DECL_OVERRIDE
virtual void dump(const QString &indent) Q_DECL_OVERRIDE
virtual qint64 undoSize() Q_DECL_OVERRIDE