aboutsummaryrefslogtreecommitdiff
path: root/mapscalehandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'mapscalehandler.h')
-rw-r--r--mapscalehandler.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/mapscalehandler.h b/mapscalehandler.h
index 3cd8dbd..a162bf8 100644
--- a/mapscalehandler.h
+++ b/mapscalehandler.h
@@ -1,15 +1,13 @@
#ifndef MAPSCALEHANDLER_H
#define MAPSCALEHANDLER_H
-#include <QObject>
#include <armadillo>
+#include <nod.hpp>
#include "scale.h"
class MapScaleHandler
- : public QObject
{
- Q_OBJECT
public:
MapScaleHandler();
@@ -18,11 +16,8 @@ public:
sy = m_sy;
}
-signals:
- void scaleChanged(const LinearScale<float> &sx,
- const LinearScale<float> &sy) const;
+ nod::signal<void(const LinearScale<float> &, const LinearScale<float> &)> scaleChanged;
-public slots:
void scaleToMap(const arma::mat &Y);
private: