author | leseb <leseb> | 2002-04-15 09:02:41 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-04-15 09:02:41 (UTC) |
commit | 6fe76c38a8c38e491bc292475bb2b27c4e63218c (patch) (unidiff) | |
tree | 83fd51845ebfa698a13f126d9e733d9a50e98cc1 | |
parent | d126d607fe18c9253330692f9da53bb932941af5 (diff) | |
download | opie-6fe76c38a8c38e491bc292475bb2b27c4e63218c.zip opie-6fe76c38a8c38e491bc292475bb2b27c4e63218c.tar.gz opie-6fe76c38a8c38e491bc292475bb2b27c4e63218c.tar.bz2 |
Add pages get method
-rw-r--r-- | noncore/graphics/drawpad/drawpadcanvas.cpp | 5 | ||||
-rw-r--r-- | noncore/graphics/drawpad/drawpadcanvas.h | 1 |
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 | |||
@@ -314,4 +314,9 @@ QPixmap* DrawPadCanvas::currentPage() | |||
314 | } | 314 | } |
315 | 315 | ||
316 | QList<QPixmap> DrawPadCanvas::pages() | ||
317 | { | ||
318 | return m_pages; | ||
319 | } | ||
320 | |||
316 | uint DrawPadCanvas::pagePosition() | 321 | uint DrawPadCanvas::pagePosition() |
317 | { | 322 | { |
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 | |||
@@ -45,4 +45,5 @@ public: | |||
45 | 45 | ||
46 | QPixmap* currentPage(); | 46 | QPixmap* currentPage(); |
47 | QList<QPixmap> pages(); | ||
47 | uint pagePosition(); | 48 | uint pagePosition(); |
48 | uint pageCount(); | 49 | uint pageCount(); |