X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fediteffectcommand.h;h=1f0a266e3ac60f8327216fa38283499687efa2d5;hb=255cfc0146db2aa12cbce15f6a3590efc5d9ef83;hp=6129420ed532a5cbad8baaa2a7b9756b36cbf6b1;hpb=ce68de86827a11cd0dc96465fba021b2f7ceea55;p=kdenlive diff --git a/src/commands/editeffectcommand.h b/src/commands/editeffectcommand.h index 6129420e..1f0a266e 100644 --- a/src/commands/editeffectcommand.h +++ b/src/commands/editeffectcommand.h @@ -22,7 +22,6 @@ #define EDITEFFECTCOMMAND_H #include -#include #include #include @@ -31,12 +30,12 @@ class CustomTrackView; class EditEffectCommand : public QUndoCommand { public: - EditEffectCommand(CustomTrackView *view, const int track, GenTime pos, QDomElement oldeffect, 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;