refs #253, faster updates of ATC stations by changedAtcStationConnectionStatus(const

This commit is contained in:
Klaus Basan
2014-05-28 13:14:56 +02:00
parent 421cd61195
commit f1ac4deda6
6 changed files with 55 additions and 4 deletions

View File

@@ -3,6 +3,8 @@
#include "blackgui/runtimebasedcomponent.h"
#include "blackgui/timerbasedcomponent.h"
#include "blackmisc/avatcstation.h"
#include <QTabWidget>
#include <QModelIndex>
@@ -27,10 +29,6 @@ namespace BlackGui
//! Timer for updating
CTimerBasedComponent *getTimerComponent() { return this->m_timerComponent; }
protected:
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
void runtimeHasBeenSet() override;
public slots:
//! Update users
void update();
@@ -47,6 +45,13 @@ namespace BlackGui
//! Get METAR for given ICAO airport code
void getMetar(const QString &airportIcaoCode = "");
//! \copydoc CAtcStationListModel::changedAtcStationConnectionStatus
void changedAtcStationOnlineConnectionStatus(const BlackMisc::Aviation::CAtcStation &station, bool added);
protected:
//! \copydoc CRuntimeBasedComponent::runtimeHasBeenSet
void runtimeHasBeenSet() override;
private slots:
//! Request new ATIS