X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fkdenlivesettingsdialog.h;h=1f06efc7648ee845c9adcfed6aab66b6890aa1f5;hb=89b470612186d1b6fd6531d64786aef8857cbdaf;hp=05f01c0c2c7c5468fff84c63252507d80d08f5d7;hpb=86eab79c8c7e116c56c39c05f8d97058d55c6ad1;p=kdenlive diff --git a/src/kdenlivesettingsdialog.h b/src/kdenlivesettingsdialog.h index 05f01c0c..1f06efc7 100644 --- a/src/kdenlivesettingsdialog.h +++ b/src/kdenlivesettingsdialog.h @@ -23,6 +23,7 @@ #include +#include #include #include @@ -40,13 +41,14 @@ class KdenliveSettingsDialog : public KConfigDialog Q_OBJECT public: - KdenliveSettingsDialog(QWidget * parent = 0); + KdenliveSettingsDialog(const QMap& mappable_actions, QWidget * parent = 0); ~KdenliveSettingsDialog(); void showPage(int page, int option); void checkProfile(); protected slots: void updateSettings(); + void updateWidgets(); virtual bool hasChanged(); private slots: @@ -64,6 +66,7 @@ private slots: void slotCheckAlsaDriver(); void slotAddTranscode(); void slotDeleteTranscode(); + void slotShuttleModified(); void slotDialogModified(); void slotEnableCaptureFolder(); void slotUpdateHDMIModes(); @@ -90,6 +93,9 @@ private: QString m_defaultPath; KProcess m_readProcess; bool m_modified; + bool m_shuttleModified; + QMap m_mappable_actions; + QVector m_shuttle_buttons; void initDevices(); void loadTranscodeProfiles(); void saveTranscodeProfiles(); @@ -97,7 +103,6 @@ private: signals: void customChanged(); void doResetProfile(); - void updatePreviewSettings(); void updateCaptureFolder(); };