Diffstat (limited to 'noncore/graphics/drawpad/drawpad.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawpad.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/noncore/graphics/drawpad/drawpad.h b/noncore/graphics/drawpad/drawpad.h index 0ece408..ee81ddf 100644 --- a/noncore/graphics/drawpad/drawpad.h +++ b/noncore/graphics/drawpad/drawpad.h | |||
@@ -39,15 +39,6 @@ public: | |||
39 | QBrush brush() { return m_brush; } | 39 | QBrush brush() { return m_brush; } |
40 | 40 | ||
41 | private slots: | 41 | private slots: |
42 | void clearAll(); | ||
43 | void newPage(); | ||
44 | void deletePage(); | ||
45 | |||
46 | void goFirstPage(); | ||
47 | void goPreviousPage(); | ||
48 | void goNextPage(); | ||
49 | void goLastPage(); | ||
50 | |||
51 | void setPointDrawMode(); | 42 | void setPointDrawMode(); |
52 | void setLineDrawMode(); | 43 | void setLineDrawMode(); |
53 | void setRectangleDrawMode(); | 44 | void setRectangleDrawMode(); |
@@ -59,9 +50,10 @@ private slots: | |||
59 | void changePenColor(int index); | 50 | void changePenColor(int index); |
60 | void changeBrushColor(int index); | 51 | void changeBrushColor(int index); |
61 | 52 | ||
62 | private: | 53 | void updateUndoRedoToolButtons(); |
63 | void updateNavigationToolBar(); | 54 | void updateNavigationToolButtons(); |
64 | 55 | ||
56 | private: | ||
65 | DrawPadCanvas* m_pDrawPadCanvas; | 57 | DrawPadCanvas* m_pDrawPadCanvas; |
66 | QArray<QColor> m_colors; | 58 | QArray<QColor> m_colors; |
67 | 59 | ||
@@ -69,6 +61,9 @@ private: | |||
69 | QPen m_pen; | 61 | QPen m_pen; |
70 | QBrush m_brush; | 62 | QBrush m_brush; |
71 | 63 | ||
64 | QAction* m_pUndoAction; | ||
65 | QAction* m_pRedoAction; | ||
66 | |||
72 | QAction* m_pFirstPageAction; | 67 | QAction* m_pFirstPageAction; |
73 | QAction* m_pPreviousPageAction; | 68 | QAction* m_pPreviousPageAction; |
74 | QAction* m_pNextPageAction; | 69 | QAction* m_pNextPageAction; |