Diffstat (limited to 'noncore/graphics/drawpad/drawmode.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/drawmode.h | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/noncore/graphics/drawpad/drawmode.h b/noncore/graphics/drawpad/drawmode.h deleted file mode 100644 index 01e42cc..0000000 --- a/noncore/graphics/drawpad/drawmode.h +++ b/dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | /*************************************************************************** | ||
2 | * * | ||
3 | * DrawPad - a drawing program for Opie Environment * | ||
4 | * * | ||
5 | * (C) 2002 by S. Prud'homme <prudhomme@laposte.net> * | ||
6 | * * | ||
7 | * This program is free software; you can redistribute it and/or modify * | ||
8 | * it under the terms of the GNU General Public License as published by * | ||
9 | * the Free Software Foundation; either version 2 of the License, or * | ||
10 | * (at your option) any later version. * | ||
11 | * * | ||
12 | ***************************************************************************/ | ||
13 | |||
14 | #ifndef DRAWMODE_H | ||
15 | #define DRAWMODE_H | ||
16 | |||
17 | #include <qobject.h> | ||
18 | |||
19 | class DrawPad; | ||
20 | class DrawPadCanvas; | ||
21 | |||
22 | class DrawMode : public QObject | ||
23 | { | ||
24 | protected: | ||
25 | DrawMode(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas); | ||
26 | |||
27 | public: | ||
28 | virtual ~DrawMode(); | ||
29 | |||
30 | virtual void mousePressEvent(QMouseEvent* e) = 0; | ||
31 | virtual void mouseReleaseEvent(QMouseEvent* e) = 0; | ||
32 | virtual void mouseMoveEvent(QMouseEvent* e) = 0; | ||
33 | |||
34 | protected: | ||
35 | DrawPad* m_pDrawPad; | ||
36 | DrawPadCanvas* m_pDrawPadCanvas; | ||
37 | }; | ||
38 | |||
39 | #endif // DRAWMODE_H | ||