diff options
Diffstat (limited to 'gui/InstanceProxyModel.h')
-rw-r--r-- | gui/InstanceProxyModel.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gui/InstanceProxyModel.h b/gui/InstanceProxyModel.h new file mode 100644 index 00000000..e558efc4 --- /dev/null +++ b/gui/InstanceProxyModel.h @@ -0,0 +1,13 @@ +#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); + +protected: + virtual bool subSortLessThan(const QModelIndex &left, const QModelIndex &right) const; +}; |