aboutsummaryrefslogtreecommitdiff
path: root/manipulationhandler.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 /manipulationhandler.h
parentbedf6936885694688ddb8bd3452f6bd68ef8d29c (diff)
Massive changes in initial port away from Qt.
Diffstat (limited to 'manipulationhandler.h')
-rw-r--r--manipulationhandler.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/manipulationhandler.h b/manipulationhandler.h
index c208460..c5db8e8 100644
--- a/manipulationhandler.h
+++ b/manipulationhandler.h
@@ -1,15 +1,12 @@
#ifndef MANIPULATIONHANDLER_H
#define MANIPULATIONHANDLER_H
-#include <QObject>
#include <armadillo>
+#include <nod.hpp>
class ManipulationHandler
- : public QObject
{
- Q_OBJECT
public:
- Q_ENUMS(Technique)
enum Technique {
TECHNIQUE_PLMP,
TECHNIQUE_LAMP,
@@ -22,10 +19,7 @@ public:
void setTechnique(Technique technique) { m_technique = technique; }
-signals:
- void mapChanged(const arma::mat &Y) const;
-
-public slots:
+ nod::signal<void(const arma::mat &)> mapChanged;
void setCP(const arma::mat &Ys);
private: