diff options
Diffstat (limited to 'editor/tool.h')
| -rw-r--r-- | editor/tool.h | 4 | 
1 files changed, 3 insertions, 1 deletions
| 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 <QLabel>  #include <QPixmap>  #include <QMouseEvent> +#include <QDomNode>  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;  }; | 
