X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Frenderwidget.h;h=353f420c370d2e343389244aabbd95626cdd7746;hb=f77746744a2b7c21dadfcc4fc364d41a9ee10d81;hp=a9988695c0f98df23540656cfbdf381c6b6f4c89;hpb=28328508c6d3ca17a9ce827d77e4492d3e5689bd;p=kdenlive diff --git a/src/renderwidget.h b/src/renderwidget.h index a9988695..353f420c 100644 --- a/src/renderwidget.h +++ b/src/renderwidget.h @@ -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 m_renderItems; QList m_renderCategory; + /** @brief True if current project has audio, false otherwise. */ + bool m_autoAudio; signals: void abortProcess(const QString &url);