summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_media.h
diff options
context:
space:
mode:
Diffstat (limited to 'desktop-widgets/preferences/preferences_media.h')
-rw-r--r--desktop-widgets/preferences/preferences_media.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_media.h b/desktop-widgets/preferences/preferences_media.h
new file mode 100644
index 000000000..c328d184b
--- /dev/null
+++ b/desktop-widgets/preferences/preferences_media.h
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: GPL-2.0
+#ifndef PREFERENCES_MEDIA_H
+#define PREFERENCES_MEDIA_H
+
+#include <QMap>
+#include "abstractpreferenceswidget.h"
+
+namespace Ui {
+ class PreferencesMedia;
+}
+
+class PreferencesMedia : public AbstractPreferencesWidget {
+ Q_OBJECT
+public:
+ PreferencesMedia();
+ ~PreferencesMedia();
+ void refreshSettings() override;
+ void syncSettings() override;
+public slots:
+ void on_ffmpegFile_clicked();
+ void on_ffmpegExecutable_editingFinished();
+ void on_extractVideoThumbnails_toggled(bool toggled);
+private:
+ Ui::PreferencesMedia *ui;
+ void checkFfmpegExecutable();
+
+};
+
+#endif
+