Diffstat (limited to 'noncore/graphics/drawpad/drawpadcanvas.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawpadcanvas.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/noncore/graphics/drawpad/drawpadcanvas.h b/noncore/graphics/drawpad/drawpadcanvas.h index 2ec9298..eddcb43 100644 --- a/noncore/graphics/drawpad/drawpadcanvas.h +++ b/noncore/graphics/drawpad/drawpadcanvas.h @@ -36,2 +36,4 @@ public: + bool undoEnabled(); + bool redoEnabled(); bool goPreviousPageEnabled(); @@ -47,2 +49,5 @@ public slots: + void undo(); + void redo(); + void goFirstPage(); @@ -52,2 +57,6 @@ public slots: +signals: + void pagesChanged(); + void pageBackupsChanged(); + protected: @@ -61,3 +70,4 @@ private: DrawPad* m_pDrawPad; - QList<QPixmap> m_buffers; + QList<QPixmap> m_pages; + QList<QPixmap> m_pageBackups; }; |