author | leseb <leseb> | 2002-03-17 15:31:12 (UTC) |
---|---|---|
committer | leseb <leseb> | 2002-03-17 15:31:12 (UTC) |
commit | 378db8490c6c80ced939622605be1500fa126a2d (patch) (side-by-side diff) | |
tree | b39bbe287f70a1e867060eb14b86536e7d727d17 /noncore/graphics/drawpad/drawmode.h | |
parent | 31e0537b3406d3e89df6424cded2570d28d61df4 (diff) | |
download | opie-378db8490c6c80ced939622605be1500fa126a2d.zip opie-378db8490c6c80ced939622605be1500fa126a2d.tar.gz opie-378db8490c6c80ced939622605be1500fa126a2d.tar.bz2 |
Basic undo/redo
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; class DrawMode : QObject { -public: +protected: DrawMode(DrawPad* drawPad, DrawPadCanvas* drawPadCanvas); - ~DrawMode(); + +public: + virtual ~DrawMode(); virtual void mousePressEvent(QMouseEvent* e) = 0; virtual void mouseReleaseEvent(QMouseEvent* e) = 0; |