diff options
author | Petr Mrázek <peterix@gmail.com> | 2014-02-04 00:53:05 +0100 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2014-02-04 00:53:05 +0100 |
commit | b82eb5873e99dce6aec735b08929e3add52e53e7 (patch) | |
tree | f8b60861bc5006cc989e65b87b22498f2b1d4412 /depends/groupview/GroupedProxyModel.h | |
parent | a17caba2c9c2aa5960581db01e4b66472a9c019c (diff) | |
parent | 946d49675cb4725c31ab49a51f3bcae302f89a19 (diff) | |
download | PrismLauncher-b82eb5873e99dce6aec735b08929e3add52e53e7.tar.gz PrismLauncher-b82eb5873e99dce6aec735b08929e3add52e53e7.tar.bz2 PrismLauncher-b82eb5873e99dce6aec735b08929e3add52e53e7.zip |
Add 'depends/groupview/' from commit '946d49675cb4725c31ab49a51f3bcae302f89a19'
git-subtree-dir: depends/groupview
git-subtree-mainline: a17caba2c9c2aa5960581db01e4b66472a9c019c
git-subtree-split: 946d49675cb4725c31ab49a51f3bcae302f89a19
Diffstat (limited to 'depends/groupview/GroupedProxyModel.h')
-rw-r--r-- | depends/groupview/GroupedProxyModel.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/depends/groupview/GroupedProxyModel.h b/depends/groupview/GroupedProxyModel.h new file mode 100644 index 00000000..cae87ecd --- /dev/null +++ b/depends/groupview/GroupedProxyModel.h @@ -0,0 +1,14 @@ +#pragma once + +#include <QSortFilterProxyModel> + +class GroupedProxyModel : public QSortFilterProxyModel +{ + Q_OBJECT + +public: + GroupedProxyModel(QObject *parent = 0); + +protected: + bool lessThan(const QModelIndex &left, const QModelIndex &right) const; +}; |