diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-02-27 20:09:57 -0800 |
commit | 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 (patch) | |
tree | 8b50298f41bd29d55bbd6f4301f36ad31dc0b008 /qt-ui/simplewidgets.h | |
parent | 006265d7a088cff4fea665159dbb454956c2cd76 (diff) | |
download | subsurface-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/simplewidgets.h')
-rw-r--r-- | qt-ui/simplewidgets.h | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h index 098b227f6..6e4166f35 100644 --- a/qt-ui/simplewidgets.h +++ b/qt-ui/simplewidgets.h @@ -12,7 +12,7 @@ class QAbstractButton; #include "ui_shiftimagetimes.h" #include "exif.h" -class MinMaxAvgWidget : public QWidget{ +class MinMaxAvgWidget : public QWidget { Q_OBJECT Q_PROPERTY(double minimum READ minimum WRITE setMinimum) Q_PROPERTY(double maximum READ maximum WRITE setMaximum) @@ -26,10 +26,11 @@ public: void setMinimum(double minimum); void setMaximum(double maximum); void setAverage(double average); - void setMinimum(const QString& minimum); - void setMaximum(const QString& maximum); - void setAverage(const QString& average); + void setMinimum(const QString &minimum); + void setMaximum(const QString &maximum); + void setAverage(const QString &average); void clear(); + private: QScopedPointer<MinMaxAvgWidgetPrivate> d; }; @@ -38,8 +39,10 @@ class RenumberDialog : public QDialog { Q_OBJECT public: static RenumberDialog *instance(); -private slots: +private +slots: void buttonClicked(QAbstractButton *button); + private: explicit RenumberDialog(QWidget *parent); Ui::RenumberDialog ui; @@ -49,8 +52,10 @@ class ShiftTimesDialog : public QDialog { Q_OBJECT public: static ShiftTimesDialog *instance(); -private slots: +private +slots: void buttonClicked(QAbstractButton *button); + private: explicit ShiftTimesDialog(QWidget *parent); Ui::ShiftTimesDialog ui; @@ -63,10 +68,12 @@ public: time_t amount() const; void setOffset(time_t offset); time_t epochFromExiv(EXIFInfo *exif); -private slots: +private +slots: void buttonClicked(QAbstractButton *button); void syncCameraClicked(); void dcDateTimeChanged(const QDateTime &); + private: Ui::ShiftImageTimesDialog ui; time_t m_amount; |