openmw-tes3coop/components/esxselector/model/pluginsproxymodel.hpp

29 lines
600 B
C++
Raw Normal View History

#ifndef PLUGINSPROXYMODEL_HPP
#define PLUGINSPROXYMODEL_HPP
#include <QSortFilterProxyModel>
class QVariant;
class QAbstractTableModel;
namespace EsxModel
{
2013-09-07 20:57:40 +00:00
class ContentModel;
class PluginsProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
2013-09-07 20:57:40 +00:00
explicit PluginsProxyModel(QObject *parent = 0, ContentModel *model = 0);
~PluginsProxyModel();
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
2013-09-07 20:57:40 +00:00
bool removeRows(int row, int count, const QModelIndex &parent);
};
}
#endif // PLUGINSPROXYMODEL_HPP