swift
liverylistmodel.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_LIVERYLISTMODEL_H
7 #define SWIFT_GUI_LIVERYLISTMODEL_H
8 
10 #include "gui/swiftguiexport.h"
11 
12 class QObject;
13 
14 namespace swift::misc::aviation
15 {
16  class CLivery;
17  class CLiveryList;
18 } // namespace swift::misc::aviation
19 
20 namespace swift::gui::models
21 {
23  class SWIFT_GUI_EXPORT CLiveryListModel : public CListModelDbObjects<swift::misc::aviation::CLiveryList, int, true>
24  {
25  Q_OBJECT
26 
27  public:
29  explicit CLiveryListModel(QObject *parent = nullptr);
30 
32  virtual ~CLiveryListModel() override {}
33  };
34 } // namespace swift::gui::models
35 
36 #endif // SWIFT_GUI_LIVERYLISTMODEL_H
virtual ~CLiveryListModel()
Destructor.
Models to be used with views, mainly QTableView.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.