Diffstat (limited to 'noncore/graphics/drawpad/drawmode.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawmode.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/noncore/graphics/drawpad/drawmode.h b/noncore/graphics/drawpad/drawmode.h index d4ecadd..4e80fe2 100644 --- a/noncore/graphics/drawpad/drawmode.h +++ b/noncore/graphics/drawpad/drawmode.h | |||
@@ -21,9 +21,11 @@ class DrawPadCanvas; | |||
21 | 21 | ||
22 | class DrawMode : QObject | 22 | class DrawMode : QObject |
23 | { | 23 | { |
24 | public: | 24 | protected: |
25 | DrawMode(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas); | 25 | DrawMode(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas); |
26 | ~DrawMode(); | 26 | |
27 | public: | ||
28 | virtual ~DrawMode(); | ||
27 | 29 | ||
28 | virtual void mousePressEvent(QMouseEvent* e) = 0; | 30 | virtual void mousePressEvent(QMouseEvent* e) = 0; |
29 | virtual void mouseReleaseEvent(QMouseEvent* e) = 0; | 31 | virtual void mouseReleaseEvent(QMouseEvent* e) = 0; |