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