]> git.sesse.net Git - kdenlive/blobdiff - src/trackview.h
Use lineEdit instead of a label in the header of the selected track to rename it...
[kdenlive] / src / trackview.h
index efa5a230118c84e9f079c40625e41d4b55ff0f6f..f82b661b736132673a10823dfdfcfa73e1f8c1a1 100644 (file)
@@ -63,6 +63,7 @@ public:
     int outPoint() const;
     int inPoint() const;
     int fitZoom() const;
+    
     /** @brief Updates (redraws) the ruler.
     *
     * Used to change from displaying frames to timecode or vice versa. */
@@ -97,16 +98,21 @@ private:
 private slots:
     void setCursorPos(int pos);
     void moveCursorPos(int pos);
-    /** @brief Rebuild the track headers */
+    /** @brief Rebuilds the track headers */
     void slotRebuildTrackHeaders();
     /** @brief The tracks count or a track name changed, rebuild and notify */
     void slotReloadTracks();
     void slotChangeTrackLock(int ix, bool lock);
     void slotVerticalZoomDown();
     void slotVerticalZoomUp();
-    void slotRenameTrack(int ix);
+
+    /** @brief Changes the name of a track.
+    * @param ix Number of the track
+    * @param name New name */
+    void slotRenameTrack(int ix, QString name);
     void slotRepaintTracks();
-    /** @brief Adjust margins of header area
+
+    /** @brief Adjusts the margins of the header area.
      *
      * Avoid a shift between header area and trackview if
      * the horizontal scrollbar is visible and the position
@@ -119,7 +125,7 @@ signals:
     void zoneMoved(int, int);
     void insertTrack(int);
     void deleteTrack(int);
-    void changeTrack(int);
+    void configTrack(int);
     void updateTracksInfo();
     void setZoom(int);
 };