summaryrefslogtreecommitdiffstats
path: root/qt-ui/simplewidgets.h
diff options
context:
space:
mode:
Diffstat (limited to 'qt-ui/simplewidgets.h')
-rw-r--r--qt-ui/simplewidgets.h21
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;