You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
441 B
C++
18 lines
441 B
C++
#include "pluginsproxymodel.hpp"
|
|
|
|
PluginsProxyModel::PluginsProxyModel(QObject *parent) :
|
|
QSortFilterProxyModel(parent)
|
|
{
|
|
}
|
|
|
|
PluginsProxyModel::~PluginsProxyModel()
|
|
{
|
|
}
|
|
|
|
QVariant PluginsProxyModel::headerData(int section, Qt::Orientation orientation, int role) const
|
|
{
|
|
if (orientation != Qt::Vertical || role != Qt::DisplayRole)
|
|
return QSortFilterProxyModel::headerData(section, orientation, role);
|
|
return section + 1;
|
|
}
|