swift
src
gui
models
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
9
#include "
gui/models/listmodelbase.h
"
10
#include "
gui/swiftguiexport.h
"
11
#include "
misc/network/serverlist.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
swift::gui::models::CListModelBase
List model.
Definition:
listmodelbase.h:35
swift::gui::models::CServerListModel
Server list model.
Definition:
serverlistmodel.h:19
swift::gui::models::CServerListModel::~CServerListModel
virtual ~CServerListModel()
Destructor.
Definition:
serverlistmodel.h:27
listmodelbase.h
swift::gui::models
Models to be used with views, mainly QTableView.
Definition:
dbmodelworkbenchcomponent.h:32
serverlist.h
swiftguiexport.h
SWIFT_GUI_EXPORT
#define SWIFT_GUI_EXPORT
Export a class or function from the library.
Definition:
swiftguiexport.h:19
Generated on Mon Mar 24 2025 16:42:20 for swift by
1.9.1