Commit f5705bed authored by Gus Grubba's avatar Gus Grubba

Removing dead weight. This entire controller should be removed and the...

Removing dead weight. This entire controller should be removed and the functionality moved to Vehicle.
parent e390054d
...@@ -22,13 +22,6 @@ ...@@ -22,13 +22,6 @@
#include "Vehicle.h" #include "Vehicle.h"
#include "UASMessageView.h" #include "UASMessageView.h"
#define TOOL_BAR_SETTINGS_GROUP "TOOLBAR_SETTINGS_GROUP"
#define TOOL_BAR_SHOW_BATTERY "ShowBattery"
#define TOOL_BAR_SHOW_GPS "ShowGPS"
#define TOOL_BAR_SHOW_MAV "ShowMav"
#define TOOL_BAR_SHOW_MESSAGES "ShowMessages"
#define TOOL_BAR_SHOW_RSSI "ShowRSSI"
class MainToolBarController : public QObject class MainToolBarController : public QObject
{ {
Q_OBJECT Q_OBJECT
...@@ -45,8 +38,6 @@ public: ...@@ -45,8 +38,6 @@ public:
Q_PROPERTY(unsigned int telemetryLNoise READ telemetryLNoise NOTIFY telemetryLNoiseChanged) Q_PROPERTY(unsigned int telemetryLNoise READ telemetryLNoise NOTIFY telemetryLNoiseChanged)
Q_PROPERTY(unsigned int telemetryRNoise READ telemetryRNoise NOTIFY telemetryRNoiseChanged) Q_PROPERTY(unsigned int telemetryRNoise READ telemetryRNoise NOTIFY telemetryRNoiseChanged)
void viewStateChanged (const QString& key, bool value);
int telemetryRRSSI () { return _telemetryRRSSI; } int telemetryRRSSI () { return _telemetryRRSSI; }
int telemetryLRSSI () { return _telemetryLRSSI; } int telemetryLRSSI () { return _telemetryLRSSI; }
unsigned int telemetryRXErrors () { return _telemetryRXErrors; } unsigned int telemetryRXErrors () { return _telemetryRXErrors; }
...@@ -58,7 +49,6 @@ public: ...@@ -58,7 +49,6 @@ public:
signals: signals:
void telemetryRRSSIChanged (int value); void telemetryRRSSIChanged (int value);
void telemetryLRSSIChanged (int value); void telemetryLRSSIChanged (int value);
void heightChanged (double height);
void telemetryRXErrorsChanged (unsigned int value); void telemetryRXErrorsChanged (unsigned int value);
void telemetryFixedChanged (unsigned int value); void telemetryFixedChanged (unsigned int value);
void telemetryTXBufferChanged (unsigned int value); void telemetryTXBufferChanged (unsigned int value);
...@@ -81,8 +71,6 @@ private: ...@@ -81,8 +71,6 @@ private:
uint32_t _telemetryLNoise; uint32_t _telemetryLNoise;
uint32_t _telemetryRNoise; uint32_t _telemetryRNoise;
QStringList _toolbarMessageQueue;
QMutex _toolbarMessageQueueMutex;
}; };
#endif // MainToolBarController_H #endif // MainToolBarController_H
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment