00001 #ifndef COSTPOSITIONFILTERMODEL_H
00002 #define COSTPOSITIONFILTERMODEL_H
00003
00004 #include <QSortFilterProxyModel>
00005 #include "costpositionmodel.h"
00006 #include <QString>
00007
00008 class CostPositionFilterModel : public QSortFilterProxyModel
00009 {
00010 Q_OBJECT
00011
00012 public:
00013 CostPositionFilterModel(QObject *parent=0);
00014
00015 protected:
00016 bool filterAcceptsRow(int sourceRow, const QModelIndex &sourceParent) const;
00017 bool filterAcceptsColumn(int source_column, const QModelIndex & source_parent ) const;
00018 };
00019
00020 #endif // COSTPOSITIONFILTERMODEL_H