Improved ATIS update in ATC station component

* signal for ATIS received
* reload ATC statiosns when ATIS changes
This commit is contained in:
Klaus Basan
2018-04-28 19:02:46 +02:00
committed by Roland Winklmeier
parent 0b7706471c
commit ae8d9abf0d
5 changed files with 30 additions and 13 deletions

View File

@@ -61,6 +61,12 @@ namespace BlackGui
//! Number of online stations
int countOnlineStations() const;
//! Update stations
void update();
//! Get METAR for given ICAO airport code
void getMetar(const QString &airportIcaoCode);
//! \copydoc CEnableForDockWidgetInfoArea::setParentDockWidgetInfoArea
virtual bool setParentDockWidgetInfoArea(BlackGui::CDockWidgetInfoArea *parentDockableWidget) override;
@@ -68,17 +74,10 @@ namespace BlackGui
//! Request a text message
void requestTextMessageWidget(const BlackMisc::Aviation::CCallsign &callsign);
public slots:
//! Update stations
void update();
//! Get METAR for given ICAO airport code
void getMetar(const QString &airportIcaoCode);
private:
//! \copydoc Models::CAtcStationListModel::changedAtcStationConnectionStatus
void changedAtcStationOnlineConnectionStatus(const BlackMisc::Aviation::CAtcStation &station, bool added);
private:
//! Get all METARs
void getMetarAsEntered();