X-Git-Url: https://git.sven.stormbind.net/?a=blobdiff_plain;f=mysortfilterproxymodel.h;fp=mysortfilterproxymodel.h;h=0000000000000000000000000000000000000000;hb=d483bd8e6523c23c6f1d8908a2e0611c2bc9ff4f;hp=e089b777b432293d7a068ef36bbce385417d29a2;hpb=7dfa3fe589d1722d49681f42cdb0bf1e6efb5223;p=sven%2Fvym.git diff --git a/mysortfilterproxymodel.h b/mysortfilterproxymodel.h deleted file mode 100644 index e089b77..0000000 --- a/mysortfilterproxymodel.h +++ /dev/null @@ -1,35 +0,0 @@ -#ifndef MYSORTFILTERPROXYMODEL_H -#define MYSORTFILTERPROXYMODEL_H - -//#include -#include - -//! [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