summaryrefslogtreecommitdiffstats
path: root/desktop-widgets/preferences/preferences_defaults.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-02 19:54:34 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-11-02 19:54:34 -0800
commit8ea7f404574c2ee571d2dde6bb6be3791e962150 (patch)
tree6a050178bfc71bf10558968f2a3bc0a12d8c525f /desktop-widgets/preferences/preferences_defaults.h
parentb273c1b0ca7bfe933e7c83742f1610f6bbe3f4d3 (diff)
parentdf7818a9b8495285b4d9812e5d6d50d6f9c08813 (diff)
downloadsubsurface-8ea7f404574c2ee571d2dde6bb6be3791e962150.tar.gz
Merge branch 'cmakeAndPreferences'
Diffstat (limited to 'desktop-widgets/preferences/preferences_defaults.h')
-rw-r--r--desktop-widgets/preferences/preferences_defaults.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/desktop-widgets/preferences/preferences_defaults.h b/desktop-widgets/preferences/preferences_defaults.h
new file mode 100644
index 000000000..c72be31a6
--- /dev/null
+++ b/desktop-widgets/preferences/preferences_defaults.h
@@ -0,0 +1,28 @@
+#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_localDefaultFile_toggled(bool toggled);
+
+private:
+ Ui::PreferencesDefaults *ui;
+};
+
+
+#endif \ No newline at end of file