mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 17:11:57 +00:00
16 lines
358 B
C++
16 lines
358 B
C++
#pragma once
|
|
|
|
#include <QSortFilterProxyModel>
|
|
|
|
class GroupedProxyModel : public QSortFilterProxyModel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
GroupedProxyModel(QObject *parent = 0);
|
|
|
|
protected:
|
|
virtual bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
|
|
virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const;
|
|
};
|