]> git.sesse.net Git - kdenlive/blobdiff - src/renderwidget.h
automatically select if we should export audio or not:
[kdenlive] / src / renderwidget.h
index a9988695c0f98df23540656cfbdf381c6b6f4c89..353f420c370d2e343389244aabbd95626cdd7746 100644 (file)
@@ -116,6 +116,8 @@ public:
 
 public slots:
     void slotExport(bool scriptExport, int zoneIn, int zoneOut, const QString &playlistPath, const QString &scriptPath);
+    /** @brief Enable / disable audio export if audio export checkbox is in auto mode. */
+    void slotEnableAudio(bool enable);
 
 private slots:
     void slotUpdateButtons(KUrl url);
@@ -149,6 +151,8 @@ private slots:
     void slotUpdateRescaleHeight(int);
     void slotUpdateRescaleWidth(int);
     void slotSwitchAspectRatio();
+    /** @brief Update export audio label depending on current settings. */
+    void slotUpdateAudioLabel(int ix);
 
 private:
     Ui::RenderWidget_UI m_view;
@@ -167,6 +171,8 @@ private:
     void saveProfile(QDomElement newprofile);
     QList <QListWidgetItem *> m_renderItems;
     QList <QListWidgetItem *> m_renderCategory;
+    /** @brief True if current project has audio, false otherwise. */
+    bool m_autoAudio;
 
 signals:
     void abortProcess(const QString &url);