From 5a19d9218a5f3ed7d02b7fabd8f025922e9f7a13 Mon Sep 17 00:00:00 2001 From: deva Date: Fri, 11 Jul 2008 12:54:42 +0000 Subject: Now we have a nice little editor. --- editor/tool.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'editor/tool.h') diff --git a/editor/tool.h b/editor/tool.h index a9ef1a6..8561f94 100644 --- a/editor/tool.h +++ b/editor/tool.h @@ -30,16 +30,18 @@ #include #include #include +#include class Tool : public QLabel { Q_OBJECT public: - Tool(QPixmap &pixmap, QString widget); + Tool(QDomNode &node); protected: void mousePressEvent(QMouseEvent *event); private: + QDomNode node; QPixmap pixmap; QString widget; }; -- cgit v1.2.3