aboutsummaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_defaults.h
blob: 0fa7bdc1bae9786132ae9b4c59f675ebc7266db1 (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
31
32
33
// SPDX-License-Identifier: GPL-2.0
#ifndef PREFERENCES_DEFAULTS_H
#define PREFERENCES_DEFAULTS_H

#include "abstractpreferenceswidget.h"
#include "core/pref.h"

namespace Ui {
	class PreferencesDefaults;
}

class PreferencesDefaults : public AbstractPreferencesWidget {
	Q_OBJECT
public:
	PreferencesDefaults();
	~PreferencesDefaults();
	void refreshSettings() override;
	void syncSettings() override;
public slots:
	void on_chooseFile_clicked();
	void on_btnUseDefaultFile_toggled(bool toggled);
	void on_localDefaultFile_toggled(bool toggled);
	void on_ffmpegFile_clicked();
	void on_extractVideoThumbnails_toggled(bool toggled);
	void on_resetSettings_clicked();
	void on_resetRememberedDCs_clicked();

private:
	Ui::PreferencesDefaults *ui;
};


#endif