aboutsummaryrefslogtreecommitdiff
path: root/brushinghandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'brushinghandler.h')
-rw-r--r--brushinghandler.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/brushinghandler.h b/brushinghandler.h
index ebee75a..ef21654 100644
--- a/brushinghandler.h
+++ b/brushinghandler.h
@@ -1,23 +1,18 @@
#ifndef BRUSHINGHANDLER_H
#define BRUSHINGHANDLER_H
-#include <QObject>
+#include <nod.hpp>
class BrushingHandler
- : public QObject
{
- Q_OBJECT
public:
BrushingHandler();
void clearBrush();
-
-signals:
- void itemBrushed(int item) const;
-
-public slots:
void brushItem(int item);
+ nod::signal<void(int)> itemBrushed;
+
private:
int m_brushedItem;
};