summaryrefslogtreecommitdiffstats
path: root/fsproxy.h
diff options
context:
space:
mode:
Diffstat (limited to 'fsproxy.h')
-rw-r--r--fsproxy.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/fsproxy.h b/fsproxy.h
new file mode 100644
index 0000000..2164307
--- /dev/null
+++ b/fsproxy.h
@@ -0,0 +1,15 @@
+#ifndef FSPROXY_H
+#define FSPROXY_H
+
+#include <QSortFilterProxyModel>
+
+class FSProxy : public QSortFilterProxyModel {
+ Q_OBJECT
+ public:
+ explicit FSProxy(QObject *parent = nullptr);
+
+ protected:
+ virtual bool lessThan(const QModelIndex &source_left, const QModelIndex &source_right) const;
+};
+
+#endif // FSPROXY_H