kwave  18.07.70
UndoModifyMetaDataAction.h
Go to the documentation of this file.
1 /***************************************************************************
2  UndoModifyMetaDataAction.h - Undo action for modifying meta data
3  -------------------
4  begin : Sun Apr 03 2011
5  copyright : (C) 2011 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_MODIFY_META_DATA_ACTION_H
20 #define UNDO_MODIFY_META_DATA_ACTION_H
21 
22 #include "config.h"
23 
24 #include <QtGlobal>
25 #include <QString>
26 
27 #include "libkwave/MetaDataList.h"
29 
30 namespace Kwave
31 {
32 
36  class Q_DECL_EXPORT UndoModifyMetaDataAction: public UndoAction
37  {
38  public:
39 
44  explicit UndoModifyMetaDataAction(const Kwave::MetaDataList &meta_data);
45 
47  virtual ~UndoModifyMetaDataAction() 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 
64  virtual Kwave::UndoAction *undo(Kwave::SignalManager &manager,
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_MODIFY_META_DATA_ACTION_H */
79 
80 //***************************************************************************
81 //***************************************************************************
Definition: App.h:33