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.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/qt-ui/simplewidgets.h b/qt-ui/simplewidgets.h
index d227c91df..098b227f6 100644
--- a/qt-ui/simplewidgets.h
+++ b/qt-ui/simplewidgets.h
@@ -10,6 +10,7 @@ class QAbstractButton;
#include "ui_renumber.h"
#include "ui_shifttimes.h"
#include "ui_shiftimagetimes.h"
+#include "exif.h"
class MinMaxAvgWidget : public QWidget{
Q_OBJECT
@@ -59,13 +60,17 @@ class ShiftImageTimesDialog : public QDialog {
Q_OBJECT
public:
explicit ShiftImageTimesDialog(QWidget *parent);
- int amount() const;
- void setOffset(int offset);
+ time_t amount() const;
+ void setOffset(time_t offset);
+ time_t epochFromExiv(EXIFInfo *exif);
private slots:
void buttonClicked(QAbstractButton *button);
+ void syncCameraClicked();
+ void dcDateTimeChanged(const QDateTime &);
private:
Ui::ShiftImageTimesDialog ui;
- int m_amount;
+ time_t m_amount;
+ time_t dcImageEpoch;
};
bool isGnome3Session();