diff options
Diffstat (limited to 'brushinghandler.h')
-rw-r--r-- | brushinghandler.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/brushinghandler.h b/brushinghandler.h new file mode 100644 index 0000000..ebee75a --- /dev/null +++ b/brushinghandler.h @@ -0,0 +1,25 @@ +#ifndef BRUSHINGHANDLER_H +#define BRUSHINGHANDLER_H + +#include <QObject> + +class BrushingHandler + : public QObject +{ + Q_OBJECT +public: + BrushingHandler(); + + void clearBrush(); + +signals: + void itemBrushed(int item) const; + +public slots: + void brushItem(int item); + +private: + int m_brushedItem; +}; + +#endif // BRUSHINGHANDLER_H |