swift
serverlistmodel.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (C) 2013 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_MODELS_SERVERLISTMODEL_H
7 #define SWIFT_GUI_MODELS_SERVERLISTMODEL_H
8 
10 #include "gui/swiftguiexport.h"
12 
13 class QObject;
14 
15 namespace swift::gui::models
16 {
18  class SWIFT_GUI_EXPORT CServerListModel : public CListModelBase<swift::misc::network::CServerList, true>
19  {
20  Q_OBJECT
21 
22  public:
24  explicit CServerListModel(QObject *parent = nullptr);
25 
27  virtual ~CServerListModel() {}
28  };
29 } // namespace swift::gui::models
30 #endif // SWIFT_GUI_MODELS_SERVERLISTMODEL_H
virtual ~CServerListModel()
Destructor.
Models to be used with views, mainly QTableView.
#define SWIFT_GUI_EXPORT
Export a class or function from the library.