mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +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
@@ -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
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user