]> git.sven.stormbind.net Git - sven/vym.git/blobdiff - mysortfilterproxymodel.h
New upstream version 2.9.22
[sven/vym.git] / mysortfilterproxymodel.h
diff --git a/mysortfilterproxymodel.h b/mysortfilterproxymodel.h
deleted file mode 100644 (file)
index e089b77..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef MYSORTFILTERPROXYMODEL_H
-#define MYSORTFILTERPROXYMODEL_H
-
-//#include <QDate>
-#include <QSortFilterProxyModel>
-
-//! [0]
-class MySortFilterProxyModel : public QSortFilterProxyModel
-{
-    Q_OBJECT
-
-public:
-    MySortFilterProxyModel(QObject *parent = 0);
-/*
-
-    QDate filterMinimumDate() const { return minDate; }
-    void setFilterMinimumDate(const QDate &date);
-
-    QDate filterMaximumDate() const { return maxDate; }
-    void setFilterMaximumDate(const QDate &date);
-protected:
-*/
-    bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
-    /*
-    bool lessThan(const QModelIndex &left, const QModelIndex &right) const;
-
-private:
-    bool dateInRange(const QDate &date) const;
-
-    QDate minDate;
-    QDate maxDate;
-*/
-};
-
-#endif