Commit ad021f6a authored by Donald Gagne's avatar Donald Gagne

Allow vehicleComponents to signal change

parent c6c138b5
...@@ -38,7 +38,7 @@ public: ...@@ -38,7 +38,7 @@ public:
AutoPilotPlugin(Vehicle* vehicle, QObject* parent); AutoPilotPlugin(Vehicle* vehicle, QObject* parent);
~AutoPilotPlugin(); ~AutoPilotPlugin();
Q_PROPERTY(QVariantList vehicleComponents READ vehicleComponents CONSTANT) ///< List of VehicleComponent objects Q_PROPERTY(QVariantList vehicleComponents READ vehicleComponents NOTIFY vehicleComponentsChanged) ///< List of VehicleComponent objects
Q_PROPERTY(bool setupComplete READ setupComplete NOTIFY setupCompleteChanged) ///< false: One or more vehicle components require setup Q_PROPERTY(bool setupComplete READ setupComplete NOTIFY setupCompleteChanged) ///< false: One or more vehicle components require setup
/// Called when parameters are ready for the first time. Note that parameters may still be missing. /// Called when parameters are ready for the first time. Note that parameters may still be missing.
...@@ -56,6 +56,7 @@ public: ...@@ -56,6 +56,7 @@ public:
signals: signals:
void setupCompleteChanged(bool setupComplete); void setupCompleteChanged(bool setupComplete);
void vehicleComponentsChanged(void);
protected: protected:
/// All access to AutoPilotPugin objects is through getInstanceForAutoPilotPlugin /// All access to AutoPilotPugin objects is through getInstanceForAutoPilotPlugin
......
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