00001 #ifndef HELPSORTFILTERPROXYMODEL_H 00002 #define HELPSORTFILTERPROXYMODEL_H 00003 00004 #include <QSortFilterProxyModel> 00005 00006 class HelpSortFilterProxyModel : public QSortFilterProxyModel 00007 { 00008 public: 00009 HelpSortFilterProxyModel(QObject *parent = 0); 00010 00011 private: 00012 bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const; 00013 bool filterAcceptsColumn(int source_column, const QModelIndex & source_parent ) const; 00014 }; 00015 00016 #endif // HELPSORTFILTERPROXYMODEL_H