mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-03 07:35:48 +08:00
Models guard names and style
This commit is contained in:
committed by
Mat Sutcliffe
parent
f78d13047e
commit
74be37339e
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_ACTIONHOTKEYLISTMODEL_H
|
||||
#define BLACKGUI_ACTIONHOTKEYLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_ACTIONHOTKEYLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_ACTIONHOTKEYLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackmisc/input/actionhotkeylist.h"
|
||||
@@ -43,7 +43,7 @@ namespace BlackGui
|
||||
CActionHotkeyListModel(QObject *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
virtual ~CActionHotkeyListModel() {}
|
||||
virtual ~CActionHotkeyListModel() override {}
|
||||
|
||||
//! \copydoc QAbstractTableModel::rowCount
|
||||
int rowCount(const QModelIndex &parent = QModelIndex()) const override;
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_ACTIONITEM_H
|
||||
#define BLACKGUI_ACTIONITEM_H
|
||||
#ifndef BLACKGUI_MODELS_ACTIONITEM_H
|
||||
#define BLACKGUI_MODELS_ACTIONITEM_H
|
||||
|
||||
#include <QList>
|
||||
#include <QString>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_ACTIONMODEL_H
|
||||
#define BLACKGUI_ACTIONMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_ACTIONMODEL_H
|
||||
#define BLACKGUI_MODELS_ACTIONMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
|
||||
|
||||
@@ -9,12 +9,12 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_AIRCRAFTICAOLISTMODEL_H
|
||||
#define BLACKGUI_AIRCRAFTICAOLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_AIRCRAFTICAOLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_AIRCRAFTICAOLISTMODEL_H
|
||||
|
||||
#include "blackgui/models/listmodeldbobjects.h"
|
||||
#include "blackmisc/aviation/aircrafticaocode.h"
|
||||
#include "blackmisc/aviation/aircrafticaocodelist.h"
|
||||
#include "blackmisc/aviation/aircrafticaocode.h"
|
||||
#include "blackgui/models/listmodeldbobjects.h"
|
||||
#include "blackgui/blackguiexport.h"
|
||||
|
||||
namespace BlackGui
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_AIRCRAFTMODELFILTER_H
|
||||
#define BLACKGUI_AIRCRAFTMODELFILTER_H
|
||||
#ifndef BLACKGUI_MODELS_AIRCRAFTMODELFILTER_H
|
||||
#define BLACKGUI_MODELS_AIRCRAFTMODELFILTER_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/modelfilter.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_AIRCRAFTMODELLISTMODEL_H
|
||||
#define BLACKGUI_AIRCRAFTMODELLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_AIRCRAFTMODELLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_AIRCRAFTMODELLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodeldbobjects.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_AIRPORTLISTMODEL_H
|
||||
#define BLACKGUI_AIRPORTLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_AIRPORTLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_AIRPORTLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_CLOUDLAYERLISTMODEL_H
|
||||
#define BLACKGUI_CLOUDLAYERLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_CLOUDLAYERLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_CLOUDLAYERLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_COLUMNFORMATTERS_H
|
||||
#define BLACKGUI_COLUMNFORMATTERS_H
|
||||
#ifndef BLACKGUI_MODELS_COLUMNFORMATTERS_H
|
||||
#define BLACKGUI_MODELS_COLUMNFORMATTERS_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/led.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_COLUMNS_H
|
||||
#define BLACKGUI_COLUMNS_H
|
||||
#ifndef BLACKGUI_MODELS_COLUMNS_H
|
||||
#define BLACKGUI_MODELS_COLUMNS_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/columnformatters.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_COUNTRYFILTER_H
|
||||
#define BLACKGUI_COUNTRYFILTER_H
|
||||
#ifndef BLACKGUI_MODELS_COUNTRYFILTER_H
|
||||
#define BLACKGUI_MODELS_COUNTRYFILTER_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/modelfilter.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_DISTRIBUTORFILTER_H
|
||||
#define BLACKGUI_DISTRIBUTORFILTER_H
|
||||
#ifndef BLACKGUI_MODELS_DISTRIBUTORFILTER_H
|
||||
#define BLACKGUI_MODELS_DISTRIBUTORFILTER_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/modelfilter.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_DISTRIBUTORLISTMODEL_H
|
||||
#define BLACKGUI_DISTRIBUTORLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_DISTRIBUTORLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_DISTRIBUTORLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodeldbobjects.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_IDENTIFIERLISTMODEL_H
|
||||
#define BLACKGUI_IDENTIFIERLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_IDENTIFIERLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_IDENTIFIERLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
|
||||
@@ -9,17 +9,12 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_LISTMODELBASE_H
|
||||
#define BLACKGUI_LISTMODELBASE_H
|
||||
#ifndef BLACKGUI_MODELS_LISTMODELBASE_H
|
||||
#define BLACKGUI_MODELS_LISTMODELBASE_H
|
||||
|
||||
#include "blackgui/models/listmodelbasenontemplate.h"
|
||||
//#include "blackgui/models/columns.h"
|
||||
#include "blackgui/models/modelfilter.h"
|
||||
#include "blackgui/models/selectionmodel.h"
|
||||
//#include "blackgui/dropbase.h"
|
||||
//#include "blackgui/blackguiexport.h"
|
||||
//#include "blackmisc/digestsignal.h"
|
||||
//#include "blackmisc/variant.h"
|
||||
|
||||
#include <QJsonDocument>
|
||||
#include <QJsonObject>
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_LISTMODELBASENONTEMPLATE_H
|
||||
#define BLACKGUI_LISTMODELBASENONTEMPLATE_H
|
||||
#ifndef BLACKGUI_MODELS_LISTMODELBASENONTEMPLATE_H
|
||||
#define BLACKGUI_MODELS_LISTMODELBASENONTEMPLATE_H
|
||||
|
||||
#include "blackgui/models/columns.h"
|
||||
#include "blackgui/dropbase.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_LISTMODELFILTER_H
|
||||
#define BLACKGUI_LISTMODELFILTER_H
|
||||
#ifndef BLACKGUI_MODELS_LISTMODELFILTER_H
|
||||
#define BLACKGUI_MODELS_LISTMODELFILTER_H
|
||||
|
||||
#include "blackmisc/aviation/aircrafticaocodelist.h"
|
||||
#include "blackmisc/aviation/airlineicaocodelist.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_SELECTIONMODEL_H
|
||||
#define BLACKGUI_SELECTIONMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_SELECTIONMODEL_H
|
||||
#define BLACKGUI_MODELS_SELECTIONMODEL_H
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_SERVERLISTMODEL_H
|
||||
#define BLACKGUI_SERVERLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_SERVERLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_SERVERLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_STATUSMESSAGEFILTER_H
|
||||
#define BLACKGUI_STATUSMESSAGEFILTER_H
|
||||
#ifndef BLACKGUI_MODELS_STATUSMESSAGEFILTER_H
|
||||
#define BLACKGUI_MODELS_STATUSMESSAGEFILTER_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/modelfilter.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_STATUSMESSAGELISTMODEL_H
|
||||
#define BLACKGUI_STATUSMESSAGELISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_STATUSMESSAGELISTMODEL_H
|
||||
#define BLACKGUI_MODELS_STATUSMESSAGELISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodeltimestampobjects.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_TEXTMESSAGELISTMODEL_H
|
||||
#define BLACKGUI_TEXTMESSAGELISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_TEXTMESSAGELISTMODEL_H
|
||||
#define BLACKGUI_MODELS_TEXTMESSAGELISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_USERLISTMODEL_H
|
||||
#define BLACKGUI_USERLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_USERLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_USERLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
|
||||
@@ -9,8 +9,8 @@
|
||||
|
||||
//! \file
|
||||
|
||||
#ifndef BLACKGUI_WINDLAYERLISTMODEL_H
|
||||
#define BLACKGUI_WINDLAYERLISTMODEL_H
|
||||
#ifndef BLACKGUI_MODELS_WINDLAYERLISTMODEL_H
|
||||
#define BLACKGUI_MODELS_WINDLAYERLISTMODEL_H
|
||||
|
||||
#include "blackgui/blackguiexport.h"
|
||||
#include "blackgui/models/listmodelbase.h"
|
||||
|
||||
Reference in New Issue
Block a user