]> git.sesse.net Git - kdenlive/blobdiff - src/trackview.h
automatically select if we should export audio or not:
[kdenlive] / src / trackview.h
index 144e0dfa05ad5160179ab930f984925921180c86..0529f8498237b522f489b27741444dd7709ac229 100644 (file)
@@ -63,11 +63,13 @@ 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. */
     void updateRuler();
 
+
 protected:
     virtual void keyPressEvent(QKeyEvent * event);
 
@@ -104,25 +106,36 @@ private slots:
     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
      * of the vertical scrollbar is maximal */
     void slotUpdateVerticalScroll(int min, int max);
 
+    /** @brief Parse tracks to see if project has audio in it.
+    *
+    * Parses all tracks to check if there is audio data. */
+    void slotCheckProjectAudio();
+
 signals:
     void mousePosition(int);
     void cursorMoved();
     void zoneMoved(int, int);
     void insertTrack(int);
     void deleteTrack(int);
-    void changeTrack(int);
     void configTrack(int);
     void updateTracksInfo();
     void setZoom(int);
+    /** @brief Inform render widget if our project has audio */
+    void projectHasAudio(bool);
 };
 
 #endif