X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcommands%2Faddmarkercommand.h;h=09334584e595a65a789237591b89eb50d239451d;hb=d049b327afc02b499266b5c895b13e438490b7c0;hp=c89d0c6748fac14a7d23b6f0dafe2e82f2b74131;hpb=6ee97189c48f7e8271aa04fb34b650c1ae1037d2;p=kdenlive diff --git a/src/commands/addmarkercommand.h b/src/commands/addmarkercommand.h index c89d0c67..09334584 100644 --- a/src/commands/addmarkercommand.h +++ b/src/commands/addmarkercommand.h @@ -19,10 +19,6 @@ #define MARKERCOMMAND_H #include -#include -#include -#include -#include #include "gentime.h" #include "definitions.h" @@ -32,16 +28,15 @@ class CustomTrackView; class AddMarkerCommand : public QUndoCommand { public: - AddMarkerCommand(CustomTrackView *view, const QString &oldcomment, const QString &comment, const QString &id, const GenTime &pos, QUndoCommand * parent = 0); - virtual void undo(); - virtual void redo(); + AddMarkerCommand(CustomTrackView *view, const CommentedTime &oldMarker, const CommentedTime &newMarker, const QString &id, QUndoCommand * parent = 0); + void undo(); + void redo(); private: CustomTrackView *m_view; - QString m_oldcomment; - QString m_comment; + CommentedTime m_oldMarker; + CommentedTime m_newMarker; QString m_id; - GenTime m_pos; }; #endif