mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 23:05:36 +08:00
build: Fix compilation with no PCH
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
#include "gui/guiapplication.h"
|
||||
#include "gui/guiutility.h"
|
||||
#include "misc/fileutils.h"
|
||||
#include "misc/swiftdirectories.h"
|
||||
|
||||
namespace swift::gui::components
|
||||
{
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
|
||||
#include <QFileDialog>
|
||||
#include <QListWidget>
|
||||
#include <QMenu>
|
||||
#include <QNetworkReply>
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#ifndef SWIFT_GUI_COMPONENTS_HOTKEYDIALOG_H
|
||||
#define SWIFT_GUI_COMPONENTS_HOTKEYDIALOG_H
|
||||
|
||||
#include <QComboBox>
|
||||
#include <QDialog>
|
||||
#include <QObject>
|
||||
#include <QScopedPointer>
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "gui/uppercasevalidator.h"
|
||||
|
||||
using namespace swift::misc::network;
|
||||
using namespace swift::misc::audio;
|
||||
using namespace swift::misc::aviation;
|
||||
using namespace swift::core;
|
||||
using namespace swift::core::data;
|
||||
|
||||
@@ -28,7 +28,6 @@ using namespace swift::gui;
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::network;
|
||||
using namespace swift::misc::aviation;
|
||||
using namespace swift::misc::audio;
|
||||
|
||||
namespace swift::gui::components
|
||||
{
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::aviation;
|
||||
using namespace swift::misc::audio;
|
||||
using namespace swift::misc::physical_quantities;
|
||||
using namespace swift::misc::math;
|
||||
using namespace swift::misc::simulation;
|
||||
|
||||
@@ -13,7 +13,6 @@
|
||||
#include "misc/network/user.h"
|
||||
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::audio;
|
||||
using namespace swift::misc::network;
|
||||
|
||||
namespace swift::gui::editors
|
||||
|
||||
@@ -6,6 +6,8 @@
|
||||
#ifndef SWIFT_GUI_ENABLEFORVIEWBASEDINDICATOR_H
|
||||
#define SWIFT_GUI_ENABLEFORVIEWBASEDINDICATOR_H
|
||||
|
||||
#include <chrono>
|
||||
|
||||
#include "gui/swiftguiexport.h"
|
||||
|
||||
namespace swift::gui::views
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
using namespace swift::gui::models;
|
||||
using namespace swift::gui::filters;
|
||||
using namespace swift::misc::simulation;
|
||||
using namespace swift::misc::network;
|
||||
|
||||
namespace swift::gui::filters
|
||||
{
|
||||
|
||||
@@ -15,6 +15,7 @@
|
||||
#include "gui/models/modelfilter.h"
|
||||
#include "gui/swiftguiexport.h"
|
||||
#include "misc/aviation/airlineicaocode.h"
|
||||
#include "misc/aviation/airlineicaocodelist.h"
|
||||
|
||||
namespace Ui
|
||||
{
|
||||
@@ -23,10 +24,6 @@ namespace Ui
|
||||
namespace swift::misc
|
||||
{
|
||||
class CCountry;
|
||||
namespace aviation
|
||||
{
|
||||
class CAirlineIcaoCodeList;
|
||||
}
|
||||
} // namespace swift::misc
|
||||
namespace swift::gui::filters
|
||||
{
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
using namespace swift::gui;
|
||||
using namespace swift::gui::models;
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::network;
|
||||
|
||||
namespace swift::gui::filters
|
||||
{
|
||||
|
||||
@@ -14,6 +14,7 @@
|
||||
#include "gui/filters/filterwidget.h"
|
||||
#include "gui/models/modelfilter.h"
|
||||
#include "gui/swiftguiexport.h"
|
||||
#include "misc/aviation/liverylist.h"
|
||||
#include "misc/rgbcolor.h"
|
||||
|
||||
namespace Ui
|
||||
@@ -23,7 +24,6 @@ namespace Ui
|
||||
namespace swift::misc::aviation
|
||||
{
|
||||
class CLivery;
|
||||
class CLiveryList;
|
||||
} // namespace swift::misc::aviation
|
||||
namespace swift::gui::filters
|
||||
{
|
||||
|
||||
@@ -20,7 +20,6 @@
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::simulation;
|
||||
using namespace swift::misc::aviation;
|
||||
using namespace swift::misc::network;
|
||||
using namespace swift::misc::physical_quantities;
|
||||
|
||||
namespace swift::gui::models
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
#include "gui/models/listmodeldbobjects.h"
|
||||
#include "gui/swiftguiexport.h"
|
||||
#include "misc/aviation/airlineicaocodelist.h"
|
||||
|
||||
class QObject;
|
||||
|
||||
namespace swift::misc::aviation
|
||||
{
|
||||
class CAirlineIcaoCode;
|
||||
class CAirlineIcaoCodeList;
|
||||
} // namespace swift::misc::aviation
|
||||
|
||||
namespace swift::gui::models
|
||||
@@ -29,7 +29,7 @@ namespace swift::gui::models
|
||||
//! Constructor
|
||||
explicit CAirlineIcaoCodeListModel(QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
//! DestructorCAirlineIcaoCodeList
|
||||
virtual ~CAirlineIcaoCodeListModel() {}
|
||||
};
|
||||
} // namespace swift::gui::models
|
||||
|
||||
@@ -25,7 +25,6 @@
|
||||
#include "misc/propertyindexvariantmap.h"
|
||||
|
||||
using namespace swift::misc::physical_quantities;
|
||||
using namespace swift::misc::audio;
|
||||
using namespace swift::misc::aviation;
|
||||
using namespace swift::misc::network;
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <QtGlobal>
|
||||
|
||||
#include "gui/models/columns.h"
|
||||
#include "misc/country.h"
|
||||
|
||||
using namespace swift::misc;
|
||||
using namespace swift::misc::physical_quantities;
|
||||
|
||||
@@ -8,13 +8,13 @@
|
||||
|
||||
#include "gui/models/listmodeldbobjects.h"
|
||||
#include "gui/swiftguiexport.h"
|
||||
#include "misc/aviation/liverylist.h"
|
||||
|
||||
class QObject;
|
||||
|
||||
namespace swift::misc::aviation
|
||||
{
|
||||
class CLivery;
|
||||
class CLiveryList;
|
||||
} // namespace swift::misc::aviation
|
||||
|
||||
namespace swift::gui::models
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#define SWIFT_GUI_VIEWS_VIEWCALLSIGNOBJECTS_H
|
||||
|
||||
#include "gui/views/viewbase.h"
|
||||
#include "misc/aviation/callsignset.h"
|
||||
|
||||
class QAction;
|
||||
class QIntValidator;
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
#include <QChar>
|
||||
#include <QRegularExpression>
|
||||
#include <QStringBuilder>
|
||||
#include <QTimeZone>
|
||||
|
||||
namespace swift::misc
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user