2013-02-19 14:58:01 +00:00
|
|
|
#ifndef PLUGINSPROXYMODEL_HPP
|
|
|
|
#define PLUGINSPROXYMODEL_HPP
|
|
|
|
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
|
|
|
|
class QVariant;
|
2013-08-17 02:20:48 +00:00
|
|
|
class QAbstractTableModel;
|
2013-08-17 10:37:23 +00:00
|
|
|
class DataFilesModel;
|
2013-02-19 14:58:01 +00:00
|
|
|
|
|
|
|
class PluginsProxyModel : public QSortFilterProxyModel
|
|
|
|
{
|
|
|
|
Q_OBJECT
|
2013-08-17 10:37:23 +00:00
|
|
|
|
2013-02-19 14:58:01 +00:00
|
|
|
public:
|
2013-08-17 10:37:23 +00:00
|
|
|
|
|
|
|
explicit PluginsProxyModel(QObject *parent = 0, DataFilesModel *model = 0);
|
2013-02-19 14:58:01 +00:00
|
|
|
~PluginsProxyModel();
|
|
|
|
|
2013-08-17 02:12:30 +00:00
|
|
|
virtual QVariant data(const QModelIndex &index, int role = Qt::DisplayRole) const;
|
2013-02-19 14:58:01 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // PLUGINSPROXYMODEL_HPP
|