blob: 6e4f3fdca15889417cd48acb9921f3ea2c7d0ed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#ifndef CATEGORIZEDPROXYMODEL_H
#define CATEGORIZEDPROXYMODEL_H
#include <QSortFilterProxyModel>
class CategorizedProxyModel : public QSortFilterProxyModel
{
Q_OBJECT
public:
CategorizedProxyModel(QObject *parent = 0);
protected:
bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
};
#endif // CATEGORIZEDPROXYMODEL_H
|