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:
Klaus Basan
2014-10-10 15:23:03 +02:00
committed by Roland Winklmeier
parent bb8b515c87
commit df5169ee98
38 changed files with 161 additions and 149 deletions

View File

@@ -9,7 +9,7 @@
#include "aircraftcomponent.h"
#include "ui_aircraftcomponent.h"
#include "dockwidgetinfoareacomponent.h"
#include "enablefordockwidgetinfoarea.h"
#include "../guiutility.h"
#include "blackcore/context_network.h"
#include "blackcore/context_simulator.h"
@@ -24,14 +24,14 @@ namespace BlackGui
CAircraftComponent::CAircraftComponent(QWidget *parent) :
QTabWidget(parent),
CDockWidgetInfoAreaComponent(this),
CRuntimeBasedComponent(nullptr, false),
ui(new Ui::CAircraftComponent), m_timerComponent(nullptr)
CEnableForDockWidgetInfoArea(this),
CEnableForRuntime(nullptr, false),
ui(new Ui::CAircraftComponent), m_updateTimer(nullptr)
{
ui->setupUi(this);
this->tabBar()->setExpanding(false);
this->ui->tvp_AirportsInRange->setResizeMode(CAirportView::ResizingOnce);
m_timerComponent = new CTimerBasedComponent(SLOT(update()), this);
m_updateTimer = new CUpdateTimer(SLOT(update()), this);
connect(this->ui->tvp_AircraftsInRange, &CAircraftView::countChanged, this, &CAircraftComponent::ps_countChanged);
connect(this->ui->tvp_AirportsInRange, &CAircraftView::countChanged, this, &CAircraftComponent::ps_countChanged);