Mercurial > retraceit
diff src/pngplayer.h @ 37:0c05958d254c
(issue 13, 6) Add constant index number column to data and view
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Wed, 06 May 2015 17:17:13 +0200 |
parents | 64a51a42c01f |
children | 26e1521b9afd |
line wrap: on
line diff
--- a/src/pngplayer.h Wed May 06 16:10:01 2015 +0200 +++ b/src/pngplayer.h Wed May 06 17:17:13 2015 +0200 @@ -48,15 +48,16 @@ * @param current: The row index of the currently shown image. * @param max: The row count. * @param timestamp: The timestamp of the image. + * @param number: The index number of the picture to show. */ void showPicture(const QString& fileName, int current, int max, - const QDateTime& timestamp); + const QDateTime& 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); + void updatePositions(int current, int max, const QDateTime& timestamp, int number); /**@brief set the replay speed */ void setSpeed(int mSecsPerPicture);