From db877ba121ff87a4e029daf8555d85dfef45993a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Petr=20Mr=C3=A1zek?= Date: Mon, 9 Feb 2015 01:51:14 +0100 Subject: NOISSUE move everything. --- application/InstanceProxyModel.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 application/InstanceProxyModel.h (limited to 'application/InstanceProxyModel.h') diff --git a/application/InstanceProxyModel.h b/application/InstanceProxyModel.h new file mode 100644 index 00000000..e558efc4 --- /dev/null +++ b/application/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; +}; -- cgit v1.2.3