summaryrefslogtreecommitdiff
path: root/dgedit/canvastool.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2011-10-02 09:58:10 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2011-10-02 09:58:10 +0200
commitf474c3c923fe5bb27c1ee11e2c6dd57e41889f27 (patch)
tree93e2a3e2624bb2e4d238d22124956cd066643b03 /dgedit/canvastool.h
parent83807cf93ef362098d6fea6030646653cc62e37f (diff)
Made conenctions for CanvasTool work (again...).
Diffstat (limited to 'dgedit/canvastool.h')
-rw-r--r--dgedit/canvastool.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dgedit/canvastool.h b/dgedit/canvastool.h
index 0e802ba..56cfa84 100644
--- a/dgedit/canvastool.h
+++ b/dgedit/canvastool.h
@@ -32,10 +32,12 @@
#include <QPaintEvent>
#include <QKeyEvent>
#include <QPainter>
+#include <QString>
class CanvasTool : public QObject {
Q_OBJECT
public:
+ virtual QString name() = 0;
virtual bool mouseMoveEvent(QMouseEvent *event);
virtual bool mousePressEvent(QMouseEvent *event);
virtual bool mouseReleaseEvent(QMouseEvent *event);