┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/pixmapviewer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/pixmapviewer.h')
-rw-r--r--src/pixmapviewer.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/pixmapviewer.h b/src/pixmapviewer.h
index a4c0dd7f5..daa4f269a 100644
--- a/src/pixmapviewer.h
+++ b/src/pixmapviewer.h
@@ -23,6 +23,7 @@
#include <QtGui/QWidget>
#include <QtGui/QPixmap>
+#include <QTimeLine>
class QPaintEvent;
@@ -47,8 +48,17 @@ public:
protected:
virtual void paintEvent(QPaintEvent* event);
+private slots:
+ void beginTransition();
+ void finishTransition();
+
private:
QPixmap m_pixmap;
+ QPixmap m_nextPixmap;
+ QPixmap m_pendingPixmap;
+ QTimeLine m_animation;
+ int m_animationStep;
+
};