mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-31 21:15:33 +08:00
refs #335, renaming
* the term "components" will only be used for GUI components (derived from QWidget/ QWidget derived classes) fron now on * timer, and enabler classes renamed accordingly: CEnableForRuntime, CEnableForDockWidgetInfoArea, CUpdateTimer * adjusted all dependent classes
This commit is contained in:
committed by
Roland Winklmeier
parent
bb8b515c87
commit
df5169ee98
@@ -29,13 +29,13 @@ namespace BlackGui
|
||||
{
|
||||
CAtcStationComponent::CAtcStationComponent(QWidget *parent) :
|
||||
QTabWidget(parent),
|
||||
CDockWidgetInfoAreaComponent(this),
|
||||
CRuntimeBasedComponent(nullptr, false),
|
||||
ui(new Ui::CAtcStationComponent), m_timerComponent(nullptr)
|
||||
CEnableForDockWidgetInfoArea(this),
|
||||
CEnableForRuntime(nullptr, false),
|
||||
ui(new Ui::CAtcStationComponent), m_updateTimer(nullptr)
|
||||
{
|
||||
ui->setupUi(this);
|
||||
this->tabBar()->setExpanding(false);
|
||||
this->m_timerComponent = new CTimerBasedComponent(SLOT(update()), this);
|
||||
this->m_updateTimer = new CUpdateTimer(SLOT(update()), this);
|
||||
|
||||
// some icons
|
||||
this->ui->pb_AtcStationsAtisReload->setIcon(CIcons::atis());
|
||||
@@ -217,8 +217,8 @@ namespace BlackGui
|
||||
|
||||
void CAtcStationComponent::ps_requestOnlineStationsUpdate()
|
||||
{
|
||||
this->m_timerComponent->fireTimer();
|
||||
this->m_timestampLastReadOnlineStations = CTimerBasedComponent::epoch();
|
||||
this->m_updateTimer->fireTimer();
|
||||
this->m_timestampLastReadOnlineStations = CUpdateTimer::epoch();
|
||||
}
|
||||
|
||||
void CAtcStationComponent::ps_infoAreaTabBarChanged(int index)
|
||||
|
||||
Reference in New Issue
Block a user