]> git.sesse.net Git - kdenlive/blobdiff - src/commands/addmarkercommand.h
Clip markers can now have a category that is shown as a color.
[kdenlive] / src / commands / addmarkercommand.h
index c89d0c6748fac14a7d23b6f0dafe2e82f2b74131..12ef595d5625f9cc0ebd78356f9582314ad185ec 100644 (file)
@@ -32,16 +32,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);
+    AddMarkerCommand(CustomTrackView *view, const CommentedTime oldMarker, const CommentedTime newMarker, const QString &id, QUndoCommand * parent = 0);
     virtual void undo();
     virtual 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