swift
airlineicaolistmodel.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2015 swift Project Community / Contributors
2 // SPDX-License-Identifier: GPL-3.0-or-later OR LicenseRef-swift-pilot-client-1
3 
5 
6 #ifndef SWIFT_GUI_AIRLINEICAOLISTMODEL_H
7 #define SWIFT_GUI_AIRLINEICAOLISTMODEL_H
8 
10 #include "gui/swiftguiexport.h"
11 
12 class QObject;
13 
14 namespace swift::misc::aviation
15 {
16  class CAirlineIcaoCode;
17  class CAirlineIcaoCodeList;
18 } // namespace swift::misc::aviation
19 
20 namespace swift::gui::models
21 {
24  public CListModelDbObjects<swift::misc::aviation::CAirlineIcaoCodeList, int, true>
25  {
26  Q_OBJECT
27 
28  public:
30  explicit CAirlineIcaoCodeListModel(QObject *parent = nullptr);
31 
34  };
35 } // namespace swift::gui::models
36 #endif // SWIFT_GUI_AIRLINEICAOLISTMODEL_H
Models to be used with views, mainly QTableView.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.