diff options
| author | Tannin <devnull@localhost> | 2013-03-27 12:32:23 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2013-03-27 12:32:23 +0100 |
| commit | 10485e15e4de3e1a6c30733ad2d4850591d31509 (patch) | |
| tree | d4ca59328823e5d6ff8be6f403f0eb8c5c7cf05a /src/modlistgroupcategoriesproxy.h | |
| parent | ec0ea9df8dabe686d3256665c7ed638660309915 (diff) | |
- some cleanup to hookdll
- exchanged grouping proxies with existing solution from the kde project
Diffstat (limited to 'src/modlistgroupcategoriesproxy.h')
| -rw-r--r-- | src/modlistgroupcategoriesproxy.h | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/src/modlistgroupcategoriesproxy.h b/src/modlistgroupcategoriesproxy.h deleted file mode 100644 index 23fd36df..00000000 --- a/src/modlistgroupcategoriesproxy.h +++ /dev/null @@ -1,40 +0,0 @@ -#ifndef MODLISTGROUPPROXY_H
-#define MODLISTGROUPPROXY_H
-
-#include <QIdentityProxyModel>
-#include <tuple>
-
-class ModListGroupCategoriesProxy : public QAbstractProxyModel
-{
-
- Q_OBJECT
-
-public:
-
- explicit ModListGroupCategoriesProxy(QObject *parent = 0);
-
- virtual int rowCount(const QModelIndex &parent) const;
- virtual int columnCount(const QModelIndex &parent) const;
-
- virtual QModelIndex mapToSource(const QModelIndex &proxyIndex) const;
- virtual QModelIndex mapFromSource(const QModelIndex &sourceIndex) const;
-
- virtual QModelIndex index(int row, int column, const QModelIndex &parent) const;
- virtual QModelIndex parent(const QModelIndex &child) const;
-
- virtual bool hasChildren(const QModelIndex &parent) const;
-
- virtual QVariant data(const QModelIndex &proxyIndex, int role) const;
- virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;
-
-signals:
-
-public slots:
-
-private:
-
- mutable std::map<QPersistentModelIndex, QPersistentModelIndex> m_IndexMap;
-
-};
-
-#endif // MODLISTGROUPPROXY_H
|
