Mercurial > retraceit
diff src/pngplayer.h @ 44:73e6b6b12412
(issue 1,2) Make the column used for the Timestamp value configurable
If the column contains a number it is interpreted as seconds since
epoch. Otherwise its a verbatim copy of the column string.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 06 May 2015 19:45:26 +0200 |
parents | 26e1521b9afd |
children | 098a10fc2e83 |
line wrap: on
line diff
--- a/src/pngplayer.h Wed May 06 18:20:13 2015 +0200 +++ b/src/pngplayer.h Wed May 06 19:45:26 2015 +0200 @@ -10,7 +10,6 @@ #include <QWidget> #include <QDir> #include <QTimer> -#include <QDateTime> class QSlider; class QLabel; @@ -57,13 +56,13 @@ * @param number: The index number of the picture to show. */ void showPicture(const QString& fileName, int current, int max, - const QDateTime& timestamp, int number); + const QString& timestamp, int number); /**@brief set the base dir to which filenames will be relative. */ void setBaseDir(const QString& dirName) { mBaseDir.setPath(dirName); } /**@brief update positional information / slider current / max info. */ - void updatePositions(int current, int max, const QDateTime& timestamp, int number); + void updatePositions(int current, int max, const QString& timestamp, int number); /**@brief set the replay speed */ void setSpeed(int mSecsPerPicture);