mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 13:35:34 +08:00
using namespace in header removed, rectified resulting changes
* using namespace in context_runtime.h * in same step also fixed some other using namespace issues
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
using namespace BlackGui;
|
||||
using namespace BlackGui::Models;
|
||||
using namespace BlackGui::Views;
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Aviation;
|
||||
using namespace BlackCore;
|
||||
|
||||
|
||||
@@ -66,10 +66,10 @@ namespace BlackGui
|
||||
void ps_audioDeviceSelected(int index);
|
||||
|
||||
//! Current audio devices changed
|
||||
void ps_onCurrentAudioDevicesChanged(const Audio::CAudioDeviceInfoList &devices);
|
||||
void ps_onCurrentAudioDevicesChanged(const BlackMisc::Audio::CAudioDeviceInfoList &devices);
|
||||
|
||||
//! Audio devices changed
|
||||
void ps_onAudioDevicesChanged(const Audio::CAudioDeviceInfoList &devices);
|
||||
void ps_onAudioDevicesChanged(const BlackMisc::Audio::CAudioDeviceInfoList &devices);
|
||||
|
||||
private:
|
||||
//! Audio test modes
|
||||
|
||||
@@ -22,6 +22,7 @@
|
||||
|
||||
using namespace BlackGui;
|
||||
using namespace BlackCore;
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Audio;
|
||||
using namespace BlackMisc::Aviation;
|
||||
using namespace BlackMisc::PhysicalQuantities;
|
||||
|
||||
@@ -49,9 +49,9 @@ namespace BlackGui
|
||||
static void setRuntimeForComponents(BlackCore::CRuntime *runtime, QWidget *parent);
|
||||
|
||||
//! Log message category
|
||||
static const CLogCategoryList &getLogCategories()
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories()
|
||||
{
|
||||
static const CLogCategoryList cats { CLogCategory::guiComponent() };
|
||||
static const BlackMisc::CLogCategoryList cats { BlackMisc::CLogCategory::guiComponent() };
|
||||
return cats;
|
||||
}
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "ui_logcomponent.h"
|
||||
#include "../stylesheetutility.h"
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackGui;
|
||||
|
||||
namespace BlackGui
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
#include "ui_mainkeypadareacomponent.h"
|
||||
#include "blackcore/context_audio.h"
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Aviation;
|
||||
using namespace BlackCore;
|
||||
|
||||
@@ -214,7 +215,7 @@ namespace BlackGui
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
Aviation::CAircraft CMainKeypadAreaComponent::getOwnAircraft() const
|
||||
CAircraft CMainKeypadAreaComponent::getOwnAircraft() const
|
||||
{
|
||||
if (!this->getIContextOwnAircraft()) { return CAircraft(); }
|
||||
return this->getIContextOwnAircraft()->getOwnAircraft();
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "blackmisc/iconlist.h"
|
||||
#include "blackmisc/avaircraft.h"
|
||||
|
||||
using namespace BlackMisc;
|
||||
using namespace BlackMisc::Aviation;
|
||||
using namespace BlackCore;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user