summaryrefslogtreecommitdiffhomepage
path: root/tracker-hydra
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:15:54 +0100
committerStanislaw Halik <sthalik@misaki.pl>2016-11-04 19:48:11 +0100
commitb89699c7551f768bf4ff47820543f8c7b8c794af (patch)
treec3a21ec23a40250ec54b97fe17b9035a932cfaf8 /tracker-hydra
parent068e0c7d432ede0a388fe1478b5146fcf1809315 (diff)
modules: make names unique
Diffstat (limited to 'tracker-hydra')
-rw-r--r--tracker-hydra/ftnoir_tracker_hydra.cpp2
-rw-r--r--tracker-hydra/ftnoir_tracker_hydra.h6
-rw-r--r--tracker-hydra/ftnoir_tracker_hydra_dialog.cpp6
3 files changed, 7 insertions, 7 deletions
diff --git a/tracker-hydra/ftnoir_tracker_hydra.cpp b/tracker-hydra/ftnoir_tracker_hydra.cpp
index 809f2fba..781339fa 100644
--- a/tracker-hydra/ftnoir_tracker_hydra.cpp
+++ b/tracker-hydra/ftnoir_tracker_hydra.cpp
@@ -44,4 +44,4 @@ void Hydra_Tracker::data(double *data)
data[Roll] = double(ypr[2]) * r2d;
}
-OPENTRACK_DECLARE_TRACKER(Hydra_Tracker, TrackerControls, FTNoIR_TrackerDll)
+OPENTRACK_DECLARE_TRACKER(Hydra_Tracker, dialog_hydra, hydraDll)
diff --git a/tracker-hydra/ftnoir_tracker_hydra.h b/tracker-hydra/ftnoir_tracker_hydra.h
index d17d9f73..31a994d5 100644
--- a/tracker-hydra/ftnoir_tracker_hydra.h
+++ b/tracker-hydra/ftnoir_tracker_hydra.h
@@ -24,11 +24,11 @@ private:
QMutex mutex;
};
-class TrackerControls: public ITrackerDialog
+class dialog_hydra: public ITrackerDialog
{
Q_OBJECT
public:
- TrackerControls();
+ dialog_hydra();
void register_tracker(ITracker *) {}
void unregister_tracker() {}
private:
@@ -39,7 +39,7 @@ private slots:
void doCancel();
};
-class FTNoIR_TrackerDll : public Metadata
+class hydraDll : public Metadata
{
public:
QString name() { return QString("Razer Hydra -- inertial device"); }
diff --git a/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp b/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp
index 42019dfa..56b1e379 100644
--- a/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp
+++ b/tracker-hydra/ftnoir_tracker_hydra_dialog.cpp
@@ -1,7 +1,7 @@
#include "ftnoir_tracker_hydra.h"
#include "api/plugin-api.hpp"
-TrackerControls::TrackerControls()
+dialog_hydra::dialog_hydra()
{
ui.setupUi(this);
@@ -9,12 +9,12 @@ TrackerControls::TrackerControls()
connect(ui.buttonBox, SIGNAL(rejected()), this, SLOT(doCancel()));
}
-void TrackerControls::doOK() {
+void dialog_hydra::doOK() {
s.b->save();
close();
}
-void TrackerControls::doCancel()
+void dialog_hydra::doCancel()
{
close();
}