diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-07-28 20:32:00 +0200 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2011-07-28 20:32:00 +0200 |
commit | 11ae33c3b0a0cbad772b23eb7d0714eef8ab9b03 (patch) | |
tree | e47437aca5507bb61c8b3f3c674f0903ce02a683 /dgedit/canvastool.h | |
parent | 90494e2f9b8ac40a8ce1bb75828ceff0893bbd63 (diff) |
New tool skeleton structure.
Diffstat (limited to 'dgedit/canvastool.h')
-rw-r--r-- | dgedit/canvastool.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/dgedit/canvastool.h b/dgedit/canvastool.h index a378c53..bd224d0 100644 --- a/dgedit/canvastool.h +++ b/dgedit/canvastool.h @@ -30,12 +30,12 @@ class CanvasTool : public QObject { Q_OBJECT public: - virtual void mouseMoveEvent(QMouseEvent *event); - virtual void mousePressEvent(QMouseEvent *event); - virtual void mouseReleaseEvent(QMouseEvent *event); - virtual void resizeEvent(QResizeEvent *event); - virtual void paintEvent(QPaintEvent *event); - virtual void keyReleaseEvent(QKeyEvent *event); + virtual void mouseMoveEvent(QMouseEvent *event) = 0; + virtual void mousePressEvent(QMouseEvent *event) = 0; + virtual void mouseReleaseEvent(QMouseEvent *event) = 0; + virtual void resizeEvent(QResizeEvent *event) = 0; + virtual void paintEvent(QPaintEvent *event) = 0; + virtual void keyReleaseEvent(QKeyEvent *event) = 0; signals: void activateChanged(bool activestate); |