Changeset View
Changeset View
Standalone View
Standalone View
kstars/ekos/observatory/observatoryweathermodel.h
Show First 20 Lines • Show All 77 Lines • ▼ Show 20 Line(s) | 70 | public slots: | |||
---|---|---|---|---|---|
78 | void setAlertActionsActive(bool active); | 78 | void setAlertActionsActive(bool active); | ||
79 | 79 | | |||
80 | private: | 80 | private: | ||
81 | Weather *weatherInterface; | 81 | Weather *weatherInterface; | ||
82 | QTimer warningTimer, alertTimer; | 82 | QTimer warningTimer, alertTimer; | ||
83 | struct WeatherActions warningActions, alertActions; | 83 | struct WeatherActions warningActions, alertActions; | ||
84 | bool warningActionsActive, alertActionsActive; | 84 | bool warningActionsActive, alertActionsActive; | ||
85 | 85 | | |||
86 | void startAlertTimer(); | ||||
87 | void startWarningTimer(); | ||||
88 | | ||||
86 | // hold all sensor data received from the weather station | 89 | // hold all sensor data received from the weather station | ||
87 | std::vector<ISD::Weather::WeatherData> m_WeatherData; | 90 | std::vector<ISD::Weather::WeatherData> m_WeatherData; | ||
88 | // update the stored values | 91 | // update the stored values | ||
89 | void updateWeatherData(std::vector<ISD::Weather::WeatherData> entries); | 92 | void updateWeatherData(std::vector<ISD::Weather::WeatherData> entries); | ||
90 | unsigned long findWeatherData(QString name); | 93 | unsigned long findWeatherData(QString name); | ||
91 | 94 | | |||
92 | private slots: | 95 | private slots: | ||
93 | void weatherChanged(ISD::Weather::Status status); | 96 | void weatherChanged(ISD::Weather::Status status); | ||
Show All 14 Lines |