summaryrefslogtreecommitdiff
path: root/dgedit/canvastool.h
diff options
context:
space:
mode:
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);