mirror of
https://github.com/UltimMC/Launcher.git
synced 2025-12-22 11:39:55 +00:00
Initial commit. Basics work. Next: Drag and Drop
This commit is contained in:
18
CategorizedProxyModel.h
Normal file
18
CategorizedProxyModel.h
Normal file
@@ -0,0 +1,18 @@
|
||||
#ifndef CATEGORIZEDPROXYMODEL_H
|
||||
#define CATEGORIZEDPROXYMODEL_H
|
||||
|
||||
#include <QSortFilterProxyModel>
|
||||
|
||||
class CategorizedProxyModel : public QSortFilterProxyModel
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CategorizedProxyModel(QObject *parent = 0);
|
||||
|
||||
protected:
|
||||
bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
|
||||
};
|
||||
|
||||
|
||||
#endif // CATEGORIZEDPROXYMODEL_H
|
||||
Reference in New Issue
Block a user