subsurface/desktop-widgets/preferences/preferences_defaults.h
Tomaz Canabrava 1d2d046c0f Preferences: Port the default preferences to the new system
Simple port of the default preferences to the new preferences structure.

Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-10-30 10:36:50 -07:00

30 lines
No EOL
674 B
C++

#ifndef PREFERENCES_DEFAULTS_H
#define PREFERENCES_DEFAULTS_H
#include "abstractpreferenceswidget.h"
#include "subsurface-core/pref.h"
namespace Ui {
class PreferencesDefaults;
}
class PreferencesDefaults : public AbstractPreferencesWidget {
Q_OBJECT
public:
PreferencesDefaults();
virtual ~PreferencesDefaults();
virtual void refreshSettings();
virtual void syncSettings();
public slots:
void on_chooseFile_clicked();
void on_btnUseDefaultFile_toggled(bool toggled);
void on_noDefaultFile_toggled(bool toggled);
void on_localDefaultFile_toggled(bool toggled);
void on_cloudDefaultFile_toggled(bool toggled);
private:
Ui::PreferencesDefaults *ui;
};
#endif