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

@@ -22,7 +22,7 @@
#include "blackcore/context_simulator.h"
#include "blackcore/context_runtime.h"
#include "blackcore/input_manager.h"
#include "blackgui/components/runtimebasedcomponent.h"
#include "blackgui/components/enableforruntime.h"
#include "blackgui/components/infowindowcomponent.h"
#include "blackgui/transpondermodeselector.h"
#include "blackgui/models/atcstationlistmodel.h"
@@ -44,7 +44,7 @@
namespace Ui { class MainWindow; }
//! swift GUI
class MainWindow : public QMainWindow, public BlackGui::Components::CRuntimeBasedComponent
class MainWindow : public QMainWindow, public BlackGui::Components::CEnableForRuntime
{
Q_OBJECT

View File

@@ -75,7 +75,7 @@ void MainWindow::init(const CRuntimeConfig &runtimeConfig)
// context
this->createRuntime(runtimeConfig, this);
CRuntimeBasedComponent::setRuntimeForComponents(this->getRuntime(), this);
CEnableForRuntime::setRuntimeForComponents(this->getRuntime(), this);
// wire GUI signals
this->initGuiSignals();