summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.h
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tomaz.canabrava@intel.com>2014-07-16 18:40:49 -0300
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-07-16 15:52:29 -0700
commit1b6144350d38c2246a0366ae52d0f99a758737e4 (patch)
treee9ae1c27c134aab5be05250d58fe6f021653fb2c /qt-ui/preferences.h
parentbf7fc97b50374a7b317d4d942dda2ff4e135f422 (diff)
downloadsubsurface-1b6144350d38c2246a0366ae52d0f99a758737e4.tar.gz
Added a 'use default file' button on preferences.
Added a 'Use default file' button on preferences in a way that doesn't clutters the interface. Fixes #630 Signed-off-by: Tomaz Canabrava <tomaz.canabrava@intel.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r--qt-ui/preferences.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
index ac54cc027..2a909db17 100644
--- a/qt-ui/preferences.h
+++ b/qt-ui/preferences.h
@@ -14,6 +14,7 @@ public:
static PreferencesDialog *instance();
void showEvent(QShowEvent *);
void emitSettingsChanged();
+
signals:
void settingsChanged();
public
@@ -28,6 +29,7 @@ slots:
void gflowChanged(int gf);
void gfhighChanged(int gf);
void proxyType_changed(int idx);
+ void on_btnUseDefaultFile_toggled(bool toggle);
private:
explicit PreferencesDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);