From a5191b5d12791981d16da3b4154b7fb29f1c01db Mon Sep 17 00:00:00 2001 From: Arno Date: Tue, 16 Aug 2016 18:49:59 +0200 Subject: Implement delete files Thought I did an initial commit, but seems git thinks otherwise... --- filesorter.h | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'filesorter.h') 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 + +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 -- cgit v1.2.3-70-g09d2