]> git.sesse.net Git - kdenlive/blobdiff - src/customtrackview.h
Load & save markers (audacity compatible):
[kdenlive] / src / customtrackview.h
index 6067ef5c1c29a53530d822c18aa756f3f46db82c..1f322854a481ad9acea0e726faea4152b31571bf 100644 (file)
@@ -206,8 +206,10 @@ public:
     int seekPosition() const;
     
 public slots:
+    /** @brief Send seek request to MLT. */
     void seekCursorPos(int pos);
-    void setCursorPos(int pos, bool seek = true);
+    /** @brief Move timeline cursor to new position. */
+    void setCursorPos(int pos);
     void moveCursorPos(int delta);
     void updateCursorPos();
     void slotDeleteEffect(ClipItem *clip, int track, QDomElement effect, bool affectGroup = true);
@@ -229,7 +231,9 @@ public slots:
      * @param id Id of the marker's clip
      * @param t Position of the marker
      * @param c Comment of the marker */
-    void slotAddClipMarker(const QString &id, GenTime t, QString c);
+    void slotAddClipMarker(const QString &id, GenTime t, QString c, QUndoCommand *groupCommand = 0);
+    void slotLoadClipMarkers(const QString &id);
+    void slotSaveClipMarkers(const QString &id);
     bool addGuide(const GenTime &pos, const QString &comment);
 
     /** @brief Shows a dialog for adding a guide.
@@ -516,7 +520,7 @@ signals:
     /** @brief Update the track effect button that shows if a track has effects or not.*/
     void updateTrackEffectState(int);
     /** @brief Cursor position changed, repaint ruler.*/
-    void updateRuler(int min, int max);
+    void updateRuler();
 };
 
 #endif