Diffstat (limited to 'noncore/graphics/drawpad/thumbnailview.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/thumbnailview.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/noncore/graphics/drawpad/thumbnailview.h b/noncore/graphics/drawpad/thumbnailview.h index 9417655..1fdb168 100644 --- a/noncore/graphics/drawpad/thumbnailview.h +++ b/noncore/graphics/drawpad/thumbnailview.h | |||
@@ -17,6 +17,7 @@ | |||
17 | #include <qwidget.h> | 17 | #include <qwidget.h> |
18 | #include <qlistview.h> | 18 | #include <qlistview.h> |
19 | 19 | ||
20 | class DrawPad; | ||
20 | class DrawPadCanvas; | 21 | class DrawPadCanvas; |
21 | class Page; | 22 | class Page; |
22 | 23 | ||
@@ -55,18 +56,22 @@ class ThumbnailView : public QWidget | |||
55 | Q_OBJECT | 56 | Q_OBJECT |
56 | 57 | ||
57 | public: | 58 | public: |
58 | ThumbnailView(DrawPadCanvas* drawPadCanvas, QWidget* parent = 0, const char* name = 0); | 59 | ThumbnailView(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas, QWidget* parent = 0, const char* name = 0); |
59 | ~ThumbnailView(); | 60 | ~ThumbnailView(); |
60 | 61 | ||
61 | void hide(); | 62 | void hide(); |
62 | void exec(); | 63 | void exec(); |
63 | 64 | ||
64 | public slots: | 65 | public slots: |
66 | void newPage(); | ||
67 | void clearPage(); | ||
65 | void deletePage(); | 68 | void deletePage(); |
66 | void changePage(); | 69 | void changePage(); |
67 | 70 | ||
68 | private: | 71 | private: |
69 | bool inLoop; | 72 | bool inLoop; |
73 | |||
74 | DrawPad* m_pDrawPad; | ||
70 | DrawPadCanvas* m_pDrawPadCanvas; | 75 | DrawPadCanvas* m_pDrawPadCanvas; |
71 | 76 | ||
72 | PageListView* m_pPageListView; | 77 | PageListView* m_pPageListView; |