X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Fmoveeffectcommand.h;h=47d17dede41602526027b8ff3ca9e380e28d0197;hb=d049b327afc02b499266b5c895b13e438490b7c0;hp=790390ac2a9f1d8cf80b9335bf97df5ec42782d3;hpb=e0a70e0428309070f6ed2716beaeaaba05edd3b5;p=kdenlive diff --git a/src/commands/moveeffectcommand.h b/src/commands/moveeffectcommand.h index 790390ac..47d17ded 100644 --- a/src/commands/moveeffectcommand.h +++ b/src/commands/moveeffectcommand.h @@ -22,27 +22,25 @@ #define MOVEEFFECTCOMMAND_H #include -#include #include -#include class CustomTrackView; class MoveEffectCommand : public QUndoCommand { public: - MoveEffectCommand(CustomTrackView *view, const int track, GenTime pos, int oldPos, int newPos, QUndoCommand * parent = 0); + MoveEffectCommand(CustomTrackView *view, const int track, const GenTime &pos, const QList &oldPos, int newPos, 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; int m_track; - int m_oldindex; - int m_newindex; + QList m_oldindex; + QList m_newindex; GenTime m_pos; };