]> git.sesse.net Git - kdenlive/blobdiff - src/trackview.h
Fix hang on exit somewhere strange inside Qt on OS X.
[kdenlive] / src / trackview.h
index f82b661b736132673a10823dfdfcfa73e1f8c1a1..d5d1eb41252cfe64807a13a51d63390a4fa4d885 100644 (file)
@@ -35,7 +35,9 @@
 #include <KRuler>
 
 #include "customtrackscene.h"
+#include "effectslist.h"
 #include "ui_timeline_ui.h"
+#include "definitions.h"
 
 class ClipItem;
 class Transition;
@@ -63,12 +65,17 @@ 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();
 
+    /** @brief Parse tracks to see if project has audio in it.
+    *
+    * Parses all tracks to check if there is audio data. */
+    bool checkProjectAudio() const;
+
 protected:
     virtual void keyPressEvent(QKeyEvent * event);
 
@@ -94,6 +101,7 @@ private:
     int slotAddProjectTrack(int ix, QDomElement xml, bool locked);
     DocClipBase *getMissingProducer(const QString id) const;
     void adjustTrackHeaders();
+    void slotAddProjectEffects(QDomNodeList effects, QDomElement parentNode, ClipItem *clip, int trackIndex);
 
 private slots:
     void setCursorPos(int pos);
@@ -118,6 +126,9 @@ private slots:
      * the horizontal scrollbar is visible and the position
      * of the vertical scrollbar is maximal */
     void slotUpdateVerticalScroll(int min, int max);
+    void slotShowTrackEffects(int);
+    /** @brief Update the track label showing applied effects.*/
+    void slotUpdateTrackEffectState(int);
 
 signals:
     void mousePosition(int);
@@ -128,6 +139,7 @@ signals:
     void configTrack(int);
     void updateTracksInfo();
     void setZoom(int);
+    void showTrackEffects(int, TrackInfo);
 };
 
 #endif