mirror of
https://github.com/MultiMC/MultiMC5.git
synced 2024-11-20 08:10:11 +00:00
17 lines
437 B
C++
17 lines
437 B
C++
#pragma once
|
|
|
|
#include "groupview/GroupedProxyModel.h"
|
|
|
|
/**
|
|
* A proxy model that is responsible for sorting instances into groups
|
|
*/
|
|
class InstanceProxyModel : public GroupedProxyModel
|
|
{
|
|
public:
|
|
explicit InstanceProxyModel(QObject *parent = 0);
|
|
QVariant data(const QModelIndex & index, int role) const override;
|
|
|
|
protected:
|
|
virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const override;
|
|
};
|