summaryrefslogtreecommitdiff
authorleseb <leseb>2002-04-15 09:02:41 (UTC)
committer leseb <leseb>2002-04-15 09:02:41 (UTC)
commit6fe76c38a8c38e491bc292475bb2b27c4e63218c (patch) (side-by-side diff)
tree83fd51845ebfa698a13f126d9e733d9a50e98cc1
parentd126d607fe18c9253330692f9da53bb932941af5 (diff)
downloadopie-6fe76c38a8c38e491bc292475bb2b27c4e63218c.zip
opie-6fe76c38a8c38e491bc292475bb2b27c4e63218c.tar.gz
opie-6fe76c38a8c38e491bc292475bb2b27c4e63218c.tar.bz2
Add pages get method
Diffstat (more/less context) (show 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
@@ -315,2 +315,7 @@ QPixmap* DrawPadCanvas::currentPage()
+QList<QPixmap> DrawPadCanvas::pages()
+{
+ return m_pages;
+}
+
uint DrawPadCanvas::pagePosition()
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
@@ -46,2 +46,3 @@ public:
QPixmap* currentPage();
+ QList<QPixmap> pages();
uint pagePosition();