#include <QUndoCommand>
#include <KDebug>
+#include <QDomElement>
+#include "gentime.h"
-#include "customtrackview.h"
+class CustomTrackView;
class AddEffectCommand : public QUndoCommand
- {
- public:
- AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt);
+{
+public:
+ AddEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement effect, bool doIt, QUndoCommand * parent = 0);
virtual void undo();
virtual void redo();
- private:
- CustomTrackView *m_view;
- int m_track;
- QDomElement m_effect;
- GenTime m_pos;
- bool m_doIt;
- };
+private:
+ CustomTrackView *m_view;
+ int m_track;
+ QDomElement m_effect;
+ GenTime m_pos;
+ bool m_doIt;
+};
#endif