summaryrefslogtreecommitdiffstats
path: root/filesorter.h
blob: 92bc71e88cfa82f36e206207bdf85248d339b6e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef FILESORTER_H
#define FILESORTER_H

#include <QSortFilterProxyModel>

class FileSorter : public QSortFilterProxyModel {
    Q_OBJECT
    public:
        explicit FileSorter(QObject *parent = 0);

    protected:
        virtual bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const;

};

#endif // FILESORTER_H