summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_media.h
blob: c328d184b7312ce19808833a6e99f96233b5e91a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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