mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 18:09:59 +03:00
18 lines
348 B
C++
18 lines
348 B
C++
#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
|