aboutsummaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r--qt-ui/preferences.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
index ab5a214ed..34fc26b07 100644
--- a/qt-ui/preferences.h
+++ b/qt-ui/preferences.h
@@ -2,6 +2,8 @@
#define PREFERENCES_DIALOG_H
#include <QDialog>
+#include "../dive.h"
+#include "../pref.h"
namespace Ui{
class PreferencesDialog;
@@ -17,10 +19,12 @@ signals:
public slots:
void syncSettings();
-
+ void resetSettings();
+
private:
explicit PreferencesDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
- Ui::PreferencesDialog* ui;
+ Ui::PreferencesDialog* ui;
+ struct preferences oldPrefs;
};
-#endif \ No newline at end of file
+#endif