swift
Loading...
Searching...
No Matches
applicationinfolistmodel.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (C) 2018 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_APPLICATIONINFOLISTMODEL_H
7#define SWIFT_GUI_MODELS_APPLICATIONINFOLISTMODEL_H
8
9#include <QObject>
10
12#include "gui/swiftguiexport.h"
14
16
17namespace swift::gui::models
18{
20 class SWIFT_GUI_EXPORT CApplicationInfoListModel : public CListModelBase<swift::misc::CApplicationInfoList, true>
21 {
23
24 public:
26 explicit CApplicationInfoListModel(QObject *parent = nullptr);
27
29 ~CApplicationInfoListModel() override = default;
30
33 };
34} // namespace swift::gui::models
35#endif // SWIFT_GUI_MODELS_APPLICATIONINFOLISTMODEL_H
CApplicationInfoListModel(QObject *parent=nullptr)
Constructor.
void otherSwiftVersionsFromDataDirectories(bool reinit)
Filled from cache data directories.
CListModelBase(const QString &translationContext, QObject *parent=nullptr)
QModelIndex parent(const QModelIndex &child) const final
Models to be used with views, mainly QTableView.
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
#define SWIFT_GUI_EXPORT
Export a class or function from the library.