summaryrefslogtreecommitdiffstats
path: root/qt-ui/preferences.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-02-27 20:09:57 -0800
commit76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch)
tree8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /qt-ui/preferences.h
parent006265d7a088cff4fea665159dbb454956c2cd76 (diff)
downloadsubsurface-76e6420f6b3503b76bd3eec00ab0e53d6ea17a20.tar.gz
Massive automated whitespace cleanup
I know everyone will hate it. Go ahead. Complain. Call me names. At least now things are consistent and reproducible. If you want changes, have your complaint come with a patch to scripts/whitespace.pl so that we can automate it. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui/preferences.h')
-rw-r--r--qt-ui/preferences.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/qt-ui/preferences.h b/qt-ui/preferences.h
index fb3d1f089..5c434ec65 100644
--- a/qt-ui/preferences.h
+++ b/qt-ui/preferences.h
@@ -9,16 +9,17 @@
class QAbstractButton;
-class PreferencesDialog :public QDialog{
-Q_OBJECT
+class PreferencesDialog : public QDialog {
+ Q_OBJECT
public:
- static PreferencesDialog* instance();
- void showEvent(QShowEvent* );
+ static PreferencesDialog *instance();
+ void showEvent(QShowEvent *);
void emitSettingsChanged();
signals:
void settingsChanged();
-public slots:
- void buttonClicked(QAbstractButton* button);
+public
+slots:
+ void buttonClicked(QAbstractButton *button);
void on_chooseFile_clicked();
void syncSettings();
void loadSettings();
@@ -28,7 +29,7 @@ public slots:
void gfhighChanged(int gf);
private:
- explicit PreferencesDialog(QWidget* parent = 0, Qt::WindowFlags f = 0);
+ explicit PreferencesDialog(QWidget *parent = 0, Qt::WindowFlags f = 0);
void setUiFromPrefs();
Ui::PreferencesDialog ui;
struct preferences oldPrefs;