From 76e6420f6b3503b76bd3eec00ab0e53d6ea17a20 Mon Sep 17 00:00:00 2001 From: Dirk Hohndel Date: Thu, 27 Feb 2014 20:09:57 -0800 Subject: 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 --- qt-ui/simplewidgets.h | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) (limited to 'qt-ui/simplewidgets.h') 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 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; -- cgit v1.2.3-70-g09d2