Ref T264, application info list model

This commit is contained in:
Klaus Basan
2018-05-18 21:59:25 +02:00
parent a3f12a866b
commit 9fb7ba7592
5 changed files with 91 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
/* Copyright (C) 2018
* swift project Community / Contributors
*
* This file is part of swift project. It is subject to the license terms in the LICENSE file found in the top-level
* directory of this distribution and at http://www.swift-project.org/license.html. No part of swift project,
* including this file, may be copied, modified, propagated, or distributed except according to the terms
* contained in the LICENSE file.
*/
//! \file
#ifndef BLACKGUI_MODELS_APPLICATIONINFOLISTMODEL_H
#define BLACKGUI_MODELS_APPLICATIONINFOLISTMODEL_H
#include "blackgui/blackguiexport.h"
#include "blackgui/models/listmodelbase.h"
#include "blackmisc/applicationinfolist.h"
#include <QObject>
class QStandardItemModel;
namespace BlackGui
{
namespace Models
{
//! Application info list model
class BLACKGUI_EXPORT CApplicationInfoListModel : public CListModelBase<BlackMisc::CApplicationInfo, BlackMisc::CApplicationInfoList, true>
{
public:
//! Constructor
explicit CApplicationInfoListModel(QObject *parent = nullptr);
//! Destructor
virtual ~CApplicationInfoListModel() {}
//! \copydoc BlackMisc::CApplicationInfoList::fromOtherSwiftVersionsFromDataDirectories
void otherSwiftVersionsFromDataDirectories();
};
} // ns
} // ns
#endif // guard