diff options
Diffstat (limited to 'filesorter.h')
-rw-r--r-- | filesorter.h | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/filesorter.h b/filesorter.h index 957252d..92bc71e 100644 --- a/filesorter.h +++ b/filesorter.h @@ -1,11 +1,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; -class FileSorter -{ -public: - FileSorter(); }; -#endif // FILESORTER_H
\ No newline at end of file +#endif // FILESORTER_H |