X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fcustomtrackview.h;h=a5b9828ae2bd31688adbc33ee885087c4c3a45fd;hb=7c066a50b5c795b85b4e94d489dfb18458d7ce7b;hp=79b8758affda75e28d049a463308c5530f0f36e6;hpb=fabef9314d49feafdb280e5f5369963358747d78;p=kdenlive diff --git a/src/customtrackview.h b/src/customtrackview.h index 79b8758a..a5b9828a 100644 --- a/src/customtrackview.h +++ b/src/customtrackview.h @@ -175,6 +175,11 @@ public: KPixmapCache* pixmapCache; /** update the timeline objects when palette changes */ void updatePalette(); + /** @brief Returns true if a track has audio data on it. + * @param track The track number + * + * Check whether given track has a clip with audio in it. */ + bool hasAudio(int track) const; public slots: void setCursorPos(int pos, bool seek = true); @@ -343,7 +348,7 @@ private: void adjustTimelineTransitions(EDITMODE mode, Transition *item, QUndoCommand *command); /** Adjust keyframes when pasted to another clip */ void adjustKeyfames(GenTime oldstart, GenTime newstart, GenTime duration, QDomElement xml); - + /** @brief Removes the tip and stops the animation timer. */ void removeTipAnimation(); /** @brief Creates a new tip animation. @@ -401,6 +406,8 @@ signals: void updateClipMarkers(DocClipBase *); void updateTrackHeaders(); void playMonitor(); + /** @brief Monitor document changes (for example the presence of audio data in timeline for export widget.*/ + void documentModified(); }; #endif