mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-22 14:55:36 +08:00
Fixed clazy warnings: missing Q_OBJECT.
This commit is contained in:
@@ -25,6 +25,8 @@ namespace BlackCore
|
||||
//! Application context
|
||||
class BLACKCORE_EXPORT CContextApplicationEmpty : public IContextApplication
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CContextApplicationEmpty(CCoreFacade *runtime) : IContextApplication(CCoreFacadeConfig::NotUsed, runtime) {}
|
||||
|
||||
@@ -24,6 +24,8 @@ namespace BlackCore
|
||||
//! Audio context implementation
|
||||
class BLACKCORE_EXPORT CContextAudioEmpty : public IContextAudio
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CContextAudioEmpty(CCoreFacade *runtime) : IContextAudio(CCoreFacadeConfig::NotUsed, runtime) {}
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace BlackCore
|
||||
//! as data files via http, or file system and parsing (such as FSX models)
|
||||
class BLACKCORE_EXPORT CThreadedReader : public BlackMisc::CContinuousWorker
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Log categories
|
||||
static const BlackMisc::CLogCategoryList &getLogCategories();
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
*/
|
||||
class BLACKGUI_EXPORT CAltitudeEdit : public QLineEdit
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CAltitudeEdit(QWidget *parent = nullptr);
|
||||
|
||||
@@ -63,6 +63,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CConfigSimulatorWizardPage : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
@@ -66,6 +66,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CCopyModelsFromOtherSwiftVersionsWizardPage : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
@@ -354,6 +354,7 @@ namespace BlackGui
|
||||
|
||||
//! The menu for loading and handling VPilot rules for mapping tasks
|
||||
//! \note This is a specific menu for that very component
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class CMappingVPilotMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
@@ -377,6 +378,7 @@ namespace BlackGui
|
||||
//! -# toggle stash auto filtering
|
||||
//! -# show changed attributes
|
||||
//! \note This is a specific menu for the CDbMappingComponent component
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class CStashToolsMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
@@ -399,6 +401,7 @@ namespace BlackGui
|
||||
};
|
||||
|
||||
//! Menu for own model sets
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class COwnModelSetMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
@@ -418,6 +421,7 @@ namespace BlackGui
|
||||
};
|
||||
|
||||
//! Menu for removed models
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class CRemovedModelsMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
@@ -437,6 +441,7 @@ namespace BlackGui
|
||||
};
|
||||
|
||||
//! Apply DB data to selected models
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class CApplyDbDataMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
@@ -457,6 +462,7 @@ namespace BlackGui
|
||||
|
||||
//! Merge with vPilot data
|
||||
//! \deprecated vPilot menus will be removed in the future
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class CMergeWithVPilotMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CDbModelKeyCompleter : public QLineEdit
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Ctor
|
||||
CDbModelKeyCompleter(QWidget *parent = nullptr);
|
||||
|
||||
@@ -175,6 +175,7 @@ namespace BlackGui
|
||||
|
||||
//! The menu for loading and handling own models for mapping tasks
|
||||
//! \note This is specific for that very component
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class CLoadModelsMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -191,6 +191,7 @@ namespace BlackGui
|
||||
|
||||
//! The menu for loading models from cache or create a new model set
|
||||
//! \note This is specific for that very model set component
|
||||
//! \fixme MS 2018-12 Move to namespace scope and add Q_OBJECT
|
||||
class CLoadModelSetMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -93,6 +93,8 @@ namespace BlackGui
|
||||
//! Wizard page for CFirstModelSetComponent
|
||||
class CFirstModelSetWizardPage : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
@@ -54,6 +54,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CInitialDataLoadWizardPage : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CInstallSimulatorSpecificWizardPage : public COverlayMessagesWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using COverlayMessagesWizardPage::COverlayMessagesWizardPage;
|
||||
|
||||
@@ -106,6 +106,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CInstallXSwiftBusWizardPage : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
@@ -62,6 +62,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CLegalInfoWizardPage : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
@@ -73,6 +73,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CConfigHotkeyWizardPage : public QWizardPage
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QWizardPage::QWizardPage;
|
||||
|
||||
@@ -83,6 +83,7 @@ namespace BlackGui
|
||||
void deferredUpdate();
|
||||
|
||||
//! Custom menu for the log component
|
||||
//! \fixme Move to namespace scope and add Q_OBJECT
|
||||
class CMessageMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
public:
|
||||
|
||||
@@ -20,6 +20,8 @@ namespace BlackGui
|
||||
//! Combo box widget for ecosystems
|
||||
class CEcosystemComboBox : public QComboBox
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CEcosystemComboBox(QWidget *parent = nullptr);
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
||||
public CFilterWidget,
|
||||
public Models::IModelFilterProvider<BlackMisc::CCountryList>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CCountryFilterBar(QWidget *parent = nullptr);
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
||||
public CFilterWidget,
|
||||
public Models::IModelFilterProvider<BlackMisc::Simulation::CDistributorList>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CDistributorFilterBar(QWidget *parent = nullptr);
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Base for filter dialog
|
||||
class BLACKGUI_EXPORT CFilterDialog : public QDialog
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CFilterDialog(QWidget *parent = nullptr);
|
||||
|
||||
@@ -23,6 +23,8 @@ namespace BlackGui
|
||||
*/
|
||||
class BLACKGUI_EXPORT CLineEditHistory : public QLineEdit
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructors
|
||||
using QLineEdit::QLineEdit;
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
||||
//! Menu base class for aircraft model view menus
|
||||
class IAircraftModelViewMenu : public IMenuDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
virtual void anchor();
|
||||
|
||||
public:
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CAircraftIcaoCodeListModel :
|
||||
public CListModelDbObjects<BlackMisc::Aviation::CAircraftIcaoCode, BlackMisc::Aviation::CAircraftIcaoCodeList, int, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAircraftIcaoCodeListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CAircraftModelListModel :
|
||||
public COrderableListModelDbObjects<BlackMisc::Simulation::CAircraftModel, BlackMisc::Simulation::CAircraftModelList, int, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! How to display
|
||||
//! \sa BlackMisc::Simulation::CAircraftModel::ModelType
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
||||
//! Aircraft parts list model
|
||||
class BLACKGUI_EXPORT CAircraftPartsListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftParts, BlackMisc::Aviation::CAircraftPartsList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAircraftPartsListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
//! Aircraft situation changes list model
|
||||
class BLACKGUI_EXPORT CAircraftSituationChangeListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftSituationChange, BlackMisc::Aviation::CAircraftSituationChangeList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAircraftSituationChangeListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
//! Client list model
|
||||
class BLACKGUI_EXPORT CAircraftSituationListModel : public CListModelTimestampWithOffsetObjects<BlackMisc::Aviation::CAircraftSituation, BlackMisc::Aviation::CAircraftSituationList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAircraftSituationListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CAirlineIcaoCodeListModel :
|
||||
public CListModelDbObjects<BlackMisc::Aviation::CAirlineIcaoCode, BlackMisc::Aviation::CAirlineIcaoCodeList, int, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAirlineIcaoCodeListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CAirportListModel :
|
||||
public CListModelBase<BlackMisc::Aviation::CAirport, BlackMisc::Aviation::CAirportList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAirportListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Application info list model
|
||||
class BLACKGUI_EXPORT CApplicationInfoListModel : public CListModelBase<BlackMisc::CApplicationInfo, BlackMisc::CApplicationInfoList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CApplicationInfoListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
||||
//! ATC list model
|
||||
class BLACKGUI_EXPORT CAtcStationListModel : public CListModelCallsignObjects<BlackMisc::Aviation::CAtcStation, BlackMisc::Aviation::CAtcStationList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! What kind of stations
|
||||
enum AtcStationMode
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
||||
//! Client list model
|
||||
class BLACKGUI_EXPORT CClientListModel : public CListModelBase<BlackMisc::Network::CClient, BlackMisc::Network::CClientList>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CClientListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CCloudLayerListModel :
|
||||
public CListModelBase<BlackMisc::Weather::CCloudLayer, BlackMisc::Weather::CCloudLayerList, false>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CCloudLayerListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -130,6 +130,8 @@ namespace BlackGui
|
||||
*/
|
||||
class BLACKGUI_EXPORT CColumns : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
/*!
|
||||
* Columns constructors
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CCountryListModel :
|
||||
public CListModelDbObjects<BlackMisc::CCountry, BlackMisc::CCountryList, QString, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CCountryListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -30,6 +30,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CDistributorListModel :
|
||||
public COrderableListModelDbObjects<BlackMisc::Simulation::CDistributor, BlackMisc::Simulation::CDistributorList, QString, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! What kind of stations
|
||||
enum DistributorMode
|
||||
|
||||
@@ -24,6 +24,8 @@ namespace BlackGui
|
||||
//! Originator list model
|
||||
class BLACKGUI_EXPORT CIdentifierListModel : public CListModelBase<BlackMisc::CIdentifier, BlackMisc::CIdentifierList>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CIdentifierListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CInterpolationSetupListModel :
|
||||
public CListModelCallsignObjects<BlackMisc::Simulation::CInterpolationAndRenderingSetupPerCallsign, BlackMisc::Simulation::CInterpolationSetupList, false>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CInterpolationSetupListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CLiveryListModel :
|
||||
public CListModelDbObjects<BlackMisc::Aviation::CLivery, BlackMisc::Aviation::CLiveryList, int, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CLiveryListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
//! Matching statistics entry
|
||||
class BLACKGUI_EXPORT CMatchingStatisticsModel : public CListModelBase<BlackMisc::Simulation::CMatchingStatisticsEntry, BlackMisc::Simulation::CMatchingStatistics, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! How to display
|
||||
enum MatchingStatisticsMode
|
||||
|
||||
@@ -35,9 +35,9 @@ namespace BlackGui
|
||||
//! Simple model displaying name / variant values
|
||||
class BLACKGUI_EXPORT CNameVariantPairModel : public CListModelBase<BlackMisc::CNameVariantPair, BlackMisc::CNameVariantPairList>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
//! Constructor
|
||||
explicit CNameVariantPairModel(bool withIcon, QObject *parent = nullptr);
|
||||
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
//! Server list model
|
||||
class BLACKGUI_EXPORT CServerListModel : public CListModelBase<BlackMisc::Network::CServer, BlackMisc::Network::CServerList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CServerListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CSimulatedAircraftListModel :
|
||||
public CListModelCallsignObjects<BlackMisc::Simulation::CSimulatedAircraft, BlackMisc::Simulation::CSimulatedAircraftList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Model modes
|
||||
enum AircraftMode
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CStatusMessageListModel :
|
||||
public CListModelTimestampObjects<BlackMisc::CStatusMessage, BlackMisc::CStatusMessageList, true>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Mode
|
||||
enum Mode
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CTemperatureLayerListModel :
|
||||
public CListModelBase<BlackMisc::Weather::CTemperatureLayer, BlackMisc::Weather::CTemperatureLayerList, false>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CTemperatureLayerListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace BlackGui
|
||||
//! Text message list model
|
||||
class BLACKGUI_EXPORT CTextMessageListModel : public CListModelBase<BlackMisc::Network::CTextMessage, BlackMisc::Network::CTextMessageList>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! What kind of stations
|
||||
|
||||
@@ -26,8 +26,9 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CUserListModel :
|
||||
public CListModelBase<BlackMisc::Network::CUser, BlackMisc::Network::CUserList, true>
|
||||
{
|
||||
public:
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! What level of detail
|
||||
enum UserMode
|
||||
{
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CWindLayerListModel :
|
||||
public CListModelBase<BlackMisc::Weather::CWindLayer, BlackMisc::Weather::CWindLayerList, false>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CWindLayerListModel(QObject *parent = nullptr);
|
||||
|
||||
@@ -34,6 +34,8 @@ namespace BlackGui
|
||||
//! QDialog which can minimize to system tray
|
||||
class BLACKGUI_EXPORT CSystemTrayWindow : public QMainWindow
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! System Tray Flag
|
||||
enum SystemTrayFlag
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace BlackGui
|
||||
//! Forces uppercase
|
||||
class BLACKGUI_EXPORT CUpperCaseValidator : public QValidator
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CAircraftIcaoCodeView :
|
||||
public CViewWithDbObjects<Models::CAircraftIcaoCodeListModel, BlackMisc::Aviation::CAircraftIcaoCodeList, BlackMisc::Aviation::CAircraftIcaoCode, int>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAircraftIcaoCodeView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Aircraft parts
|
||||
class BLACKGUI_EXPORT CAircraftPartsView : public CViewWithTimestampWithOffsetObjects<Models::CAircraftPartsListModel, BlackMisc::Aviation::CAircraftPartsList, BlackMisc::Aviation::CAircraftParts>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAircraftPartsView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Aircraft situation change view
|
||||
class BLACKGUI_EXPORT CAircraftSituationChangeView : public CViewWithTimestampWithOffsetObjects<Models::CAircraftSituationChangeListModel, BlackMisc::Aviation::CAircraftSituationChangeList, BlackMisc::Aviation::CAircraftSituationChange>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAircraftSituationChangeView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CAirlineIcaoCodeView :
|
||||
public CViewWithDbObjects<Models::CAirlineIcaoCodeListModel, BlackMisc::Aviation::CAirlineIcaoCodeList, BlackMisc::Aviation::CAirlineIcaoCode, int>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAirlineIcaoCodeView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -28,8 +28,9 @@ namespace BlackGui
|
||||
//! Airports view
|
||||
class BLACKGUI_EXPORT CAirportView : public CViewBase<Models::CAirportListModel, BlackMisc::Aviation::CAirportList, BlackMisc::Aviation::CAirport>
|
||||
{
|
||||
public:
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CAirportView(QWidget *parent = nullptr);
|
||||
};
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Network servers
|
||||
class BLACKGUI_EXPORT CApplicationInfoView : public CViewBase<Models::CApplicationInfoListModel, BlackMisc::CApplicationInfoList, BlackMisc::CApplicationInfo>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CApplicationInfoView(QWidget *parent = nullptr);
|
||||
@@ -40,6 +42,8 @@ namespace BlackGui
|
||||
//! Menu base class for aircraft model view menus
|
||||
class CApplicationInfoMenu : public Menus::IMenuDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CApplicationInfoMenu(CApplicationInfoView *modelView) : Menus::IMenuDelegate(modelView)
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
||||
//! Client view
|
||||
class BLACKGUI_EXPORT CClientView : public CViewBase<Models::CClientListModel, BlackMisc::Network::CClientList, BlackMisc::Network::CClient>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CClientView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -27,9 +27,9 @@ namespace BlackGui
|
||||
//! Airports view
|
||||
class BLACKGUI_EXPORT CCloudLayerView : public CViewBase<Models::CCloudLayerListModel, BlackMisc::Weather::CCloudLayerList, BlackMisc::Weather::CCloudLayer>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
//! Constructor
|
||||
explicit CCloudLayerView(QWidget *parent = nullptr);
|
||||
};
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Countries
|
||||
class BLACKGUI_EXPORT CCountryView : public CViewBase<Models::CCountryListModel, BlackMisc::CCountryList, BlackMisc::CCountry>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CCountryView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -36,6 +36,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CDistributorView :
|
||||
public COrderableViewWithDbObjects<BlackGui::Models::CDistributorListModel, BlackMisc::Simulation::CDistributorList, BlackMisc::Simulation::CDistributor, QString>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CDistributorView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
//! Originator servers
|
||||
class BLACKGUI_EXPORT CIdentifierView : public CViewBase<Models::CIdentifierListModel, BlackMisc::CIdentifierList, BlackMisc::CIdentifier>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CIdentifierView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Distributors
|
||||
class BLACKGUI_EXPORT CInterpolationSetupView : public CViewWithCallsignObjects<Models::CInterpolationSetupListModel, BlackMisc::Simulation::CInterpolationSetupList, BlackMisc::Simulation::CInterpolationAndRenderingSetupPerCallsign>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CInterpolationSetupView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -35,6 +35,8 @@ namespace BlackGui
|
||||
class BLACKGUI_EXPORT CLiveryView :
|
||||
public CViewWithDbObjects<Models::CLiveryListModel, BlackMisc::Aviation::CLiveryList, BlackMisc::Aviation::CLivery, int>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CLiveryView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -26,6 +26,8 @@ namespace BlackGui
|
||||
//! Matching statistics
|
||||
class BLACKGUI_EXPORT CMatchingStatisticsView : public CViewBase<Models::CMatchingStatisticsModel, BlackMisc::Simulation::CMatchingStatistics, BlackMisc::Simulation::CMatchingStatisticsEntry>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CMatchingStatisticsView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -29,6 +29,8 @@ namespace BlackGui
|
||||
//! User view
|
||||
class BLACKGUI_EXPORT CNameVariantPairView : public CViewBase<Models::CNameVariantPairModel, BlackMisc::CNameVariantPairList, BlackMisc::CNameVariantPair>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CNameVariantPairView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
//! Network servers
|
||||
class BLACKGUI_EXPORT CServerView : public CViewBase<Models::CServerListModel, BlackMisc::Network::CServerList, BlackMisc::Network::CServer>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CServerView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -27,9 +27,9 @@ namespace BlackGui
|
||||
//! Airports view
|
||||
class BLACKGUI_EXPORT CTemperatureLayerView : public CViewBase<Models::CTemperatureLayerListModel, BlackMisc::Weather::CTemperatureLayerList, BlackMisc::Weather::CTemperatureLayer>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
|
||||
//! Constructor
|
||||
explicit CTemperatureLayerView(QWidget *parent = nullptr);
|
||||
};
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackGui
|
||||
//! Airports view
|
||||
class BLACKGUI_EXPORT CTextMessageView : public CViewBase<Models::CTextMessageListModel, BlackMisc::Network::CTextMessageList, BlackMisc::Network::CTextMessage>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CTextMessageView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
//! User view
|
||||
class BLACKGUI_EXPORT CUserView : public CViewBase<Models::CUserListModel, BlackMisc::Network::CUserList, BlackMisc::Network::CUser>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
explicit CUserView(QWidget *parent = nullptr);
|
||||
|
||||
@@ -25,6 +25,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CViewBaseItemDelegate : public QStyledItemDelegate
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CViewBaseItemDelegate(QObject *parent = nullptr) : QStyledItemDelegate(parent) {}
|
||||
|
||||
@@ -28,6 +28,8 @@ namespace BlackGui
|
||||
*/
|
||||
class CViewBaseProxyStyle : public QProxyStyle
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CViewBaseProxyStyle(CViewBaseNonTemplate *view, QStyle *style = nullptr);
|
||||
|
||||
@@ -26,6 +26,7 @@ namespace BlackGui
|
||||
//! Wind layer view
|
||||
class BLACKGUI_EXPORT CWindLayerView : public CViewBase<Models::CWindLayerListModel, BlackMisc::Weather::CWindLayerList, BlackMisc::Weather::CWindLayer>
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
|
||||
@@ -32,6 +32,8 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT CAtomicFile : public QFile
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! \copydoc QFile::QFile(const QString &)
|
||||
CAtomicFile(const QString &filename) : QFile(filename) {}
|
||||
|
||||
@@ -58,6 +58,8 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT CTimedFileDeleter : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CTimedFileDeleter(const QString &file, int deleteAfterMs, QObject *parent = nullptr);
|
||||
|
||||
@@ -34,8 +34,10 @@ namespace BlackMisc
|
||||
* Used for hand written interface based on virtual methods.
|
||||
* Allows to relay a message to DBus in a single code line
|
||||
*/
|
||||
class CGenericDBusInterface : public QDBusAbstractInterface
|
||||
class BLACKMISC_EXPORT CGenericDBusInterface : public QDBusAbstractInterface
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CGenericDBusInterface(const QString &serviceName, const QString &path, const QString &interfaceName, const QDBusConnection &connection, QObject *parent = nullptr) :
|
||||
|
||||
@@ -178,6 +178,8 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT CDummyModelLoader : public IAircraftModelLoader
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Dummy loader
|
||||
CDummyModelLoader(const CSimulatorInfo &simulator, QObject *parent);
|
||||
|
||||
@@ -27,6 +27,8 @@ namespace BlackMisc
|
||||
//! Dummy implementation for testing purpose
|
||||
class BLACKMISC_EXPORT CRemoteAircraftProviderDummy : public CRemoteAircraftProvider
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CRemoteAircraftProviderDummy(QObject *parent = nullptr);
|
||||
|
||||
@@ -72,6 +72,8 @@ namespace BlackMisc
|
||||
*/
|
||||
class BLACKMISC_EXPORT CRegularThread : public QThread
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
//! Constructor
|
||||
CRegularThread(QObject *parent = nullptr) : QThread(parent) {}
|
||||
|
||||
Reference in New Issue
Block a user