aboutsummaryrefslogtreecommitdiff
path: root/pageitem.h
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2015-06-14 01:35:25 +0200
committerJavier <dev.git@javispedro.com>2015-06-14 01:35:25 +0200
commit59feffc5a253fec33b310f7a0105c8ef42b9019b (patch)
tree855c7c86b4413d813d2a6c40d167eb78ee3250d3 /pageitem.h
parent72a71a2003028fc97d74cebecebb1541d66ded86 (diff)
downloadscribiu-59feffc5a253fec33b310f7a0105c8ef42b9019b.tar.gz
scribiu-59feffc5a253fec33b310f7a0105c8ef42b9019b.zip
paperreplay working
Diffstat (limited to 'pageitem.h')
-rw-r--r--pageitem.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/pageitem.h b/pageitem.h
index 2e6059a..10959d9 100644
--- a/pageitem.h
+++ b/pageitem.h
@@ -4,11 +4,12 @@
#include <QtGui/QGraphicsItem>
#include "afdnotebook.h"
+#include "paperreplay.h"
class PageItem : public QGraphicsItem
{
public:
- explicit PageItem(AfdNotebook *nb, int pageNum, QGraphicsItem *parent = 0);
+ explicit PageItem(AfdNotebook *nb, PaperReplay *replay, int pageNum, QGraphicsItem *parent = 0);
enum { Type = UserType + 'p' };
@@ -23,6 +24,7 @@ private:
private:
AfdNotebook *_nb;
+ PaperReplay *_replay;
int _pageNum;
QSize _pageSize;
QRect _pageTrim;