refs #325, using CDockWidgetInfoAreaComponent in components

This commit is contained in:
Klaus Basan
2014-09-14 00:02:54 +02:00
parent 1cba31541b
commit 6e2204beeb
4 changed files with 20 additions and 6 deletions

View File

@@ -14,6 +14,8 @@
#include "blackgui/components/runtimebasedcomponent.h"
#include "blackgui/components/timerbasedcomponent.h"
#include "blackgui/components/dockwidgetinfoareacomponent.h"
#include "blackmisc/avatcstation.h"
#include <QTabWidget>
@@ -28,7 +30,10 @@ namespace BlackGui
/*!
* ATC stations component
*/
class CAtcStationComponent : public QTabWidget, public CRuntimeBasedComponent
class CAtcStationComponent :
public QTabWidget,
public CDockWidgetInfoAreaComponent,
public CRuntimeBasedComponent
{
Q_OBJECT
@@ -66,7 +71,6 @@ namespace BlackGui
void runtimeHasBeenSet() override;
private slots:
//! Request new ATIS
void ps_requestAtis();