mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-05 09:15:34 +08:00
Fixed clazy warnings: missing Q_OBJECT.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user