X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fchangespeedcommand.h;h=e45f8a802cdaf59901cca0ef1d85cf8b95447315;hb=e83d05274cca3326b7818fe782cad5a5656bd704;hp=8adb5fc5092c7fde1d508c7f96b9d3546cea6ac5;hpb=6ee97189c48f7e8271aa04fb34b650c1ae1037d2;p=kdenlive diff --git a/src/commands/changespeedcommand.h b/src/commands/changespeedcommand.h index 8adb5fc5..e45f8a80 100644 --- a/src/commands/changespeedcommand.h +++ b/src/commands/changespeedcommand.h @@ -22,8 +22,6 @@ #define CHANGESPEEDCOMMAND_H #include -#include -#include #include "gentime.h" #include "definitions.h" @@ -33,9 +31,9 @@ class CustomTrackView; class ChangeSpeedCommand : public QUndoCommand { public: - ChangeSpeedCommand(CustomTrackView *view, ItemInfo info, ItemInfo speedIndependantInfo, double old_speed, double new_speed, int old_strobe, int new_strobe, const QString &clipId, QUndoCommand * parent = 0); - virtual void undo(); - virtual void redo(); + ChangeSpeedCommand(CustomTrackView *view, const ItemInfo &info, const ItemInfo &speedIndependantInfo, double old_speed, double new_speed, int old_strobe, int new_strobe, const QString &clipId, QUndoCommand * parent = 0); + void undo(); + void redo(); private: CustomTrackView *m_view;