aboutsummaryrefslogtreecommitdiff
path: root/brushinghandler.h
diff options
context:
space:
mode:
authorSamuel Fadel <samuel@nihil.ws>2023-05-23 11:22:33 +0200
committerSamuel Fadel <samuel@nihil.ws>2023-05-23 11:22:33 +0200
commit0f34fd437efb936ef29ac91186321aa7251fbfb1 (patch)
tree271e994828f4bb19c35b2630f2705cb64b8d4552 /brushinghandler.h
parentbedf6936885694688ddb8bd3452f6bd68ef8d29c (diff)
Massive changes in initial port away from Qt.
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;
};