summaryrefslogtreecommitdiff
path: root/noncore
Unidiff
Diffstat (limited to 'noncore') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/graphics/drawpad/drawpadcanvas.cpp5
-rw-r--r--noncore/graphics/drawpad/drawpadcanvas.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/drawpadcanvas.cpp b/noncore/graphics/drawpad/drawpadcanvas.cpp
index 58192d3..db6288f 100644
--- a/noncore/graphics/drawpad/drawpadcanvas.cpp
+++ b/noncore/graphics/drawpad/drawpadcanvas.cpp
@@ -313,6 +313,11 @@ QPixmap* DrawPadCanvas::currentPage()
313 return m_pages.current(); 313 return m_pages.current();
314} 314}
315 315
316QList<QPixmap> DrawPadCanvas::pages()
317{
318 return m_pages;
319}
320
316uint DrawPadCanvas::pagePosition() 321uint DrawPadCanvas::pagePosition()
317{ 322{
318 return (m_pages.at() + 1); 323 return (m_pages.at() + 1);
diff --git a/noncore/graphics/drawpad/drawpadcanvas.h b/noncore/graphics/drawpad/drawpadcanvas.h
index 90dd951..a1a9466 100644
--- a/noncore/graphics/drawpad/drawpadcanvas.h
+++ b/noncore/graphics/drawpad/drawpadcanvas.h
@@ -44,6 +44,7 @@ public:
44 bool goNextPageEnabled(); 44 bool goNextPageEnabled();
45 45
46 QPixmap* currentPage(); 46 QPixmap* currentPage();
47 QList<QPixmap> pages();
47 uint pagePosition(); 48 uint pagePosition();
48 uint pageCount(); 49 uint pageCount();
49 50