]> git.sesse.net Git - kdenlive/blobdiff - src/commands/editeffectcommand.h
Const'ref
[kdenlive] / src / commands / editeffectcommand.h
index 2c7719ea380f4b4ca3d6cb99243b7955b94e6eb5..1f0a266e3ac60f8327216fa38283499687efa2d5 100644 (file)
@@ -22,7 +22,6 @@
 #define EDITEFFECTCOMMAND_H
 
 #include <QUndoCommand>
-#include <KDebug>
 #include <gentime.h>
 #include <QDomElement>
 
@@ -31,12 +30,12 @@ class CustomTrackView;
 class EditEffectCommand : public QUndoCommand
 {
 public:
-    EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, const QDomElement &oldeffect, const QDomElement &effect, int stackPos, bool refreshEffectStack, bool doIt, QUndoCommand *parent = 0);
+    EditEffectCommand(CustomTrackView *view, const int track, const GenTime &pos, const QDomElement &oldeffect, const QDomElement &effect, int stackPos, bool refreshEffectStack, bool doIt, QUndoCommand *parent = 0);
 
     virtual int id() const;
     virtual bool mergeWith(const QUndoCommand * command);
-    virtual void undo();
-    virtual void redo();
+    void undo();
+    void redo();
 
 private:
     CustomTrackView *m_view;