summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-24 12:30:29 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-05-24 12:30:29 -0700
commit884e1c337981ba98a3a29c398cf1ab847009e954 (patch)
treeea929479280a3c712ca61acab1389272263c1130 /qt-ui/preferences.h
parent5926f9d4dfefba022dd2e436d9b8f4b0e38da345 (diff)
parentefb7f109e89c3d8c093c238fb7671c7ab2475f25 (diff)
downloadsubsurface-884e1c337981ba98a3a29c398cf1ab847009e954.tar.gz
Merge branch 'prefsDialog' of https://github.com/tcanabrava/subsurface
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r--qt-ui/preferences.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
new file mode 100644
index 000000000..ab5a214ed
--- /dev/null
+++ b/qt-ui/preferences.h
@@ -0,0 +1,26 @@
+#ifndef PREFERENCES_DIALOG_H
+#define PREFERENCES_DIALOG_H
+
+#include <QDialog>
+
+namespace Ui{
+ class PreferencesDialog;
+}
+
+class PreferencesDialog :public QDialog{
+Q_OBJECT
+public:
+ static PreferencesDialog* instance();
+
+signals:
+ void settingsChanged();
+
+public slots:
+ void syncSettings();
+
+private:
+ explicit PreferencesDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
+ Ui::PreferencesDialog* ui;
+};
+
+#endif \ No newline at end of file