Public Member Functions | |
| bool | filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const |
| MySortFilterProxyModel (QString share_label, QString file_label, QObject *parent) | |
| void | setFilterFile (bool) |
| void | setFilterShare (bool) |
| virtual | ~MySortFilterProxyModel () |
Private Attributes | |
| QString | fileLabel |
| bool | MFile |
| bool | MShare |
| QString | shareLabel |
| share_label | the label of share used in LogForm | |
| file_label | the label of file used in LogForm | |
| parent | parent of this object |
| MySortFilterProxyModel::MySortFilterProxyModel | ( | QString | share_label, | |
| QString | file_label, | |||
| QObject * | parent | |||
| ) |
| MySortFilterProxyModel::~MySortFilterProxyModel | ( | ) | [virtual] |
| bool MySortFilterProxyModel::filterAcceptsRow | ( | int | sourceRow, | |
| const QModelIndex & | sourceParent | |||
| ) | const |
reimplement filterAcceptsRow
| void MySortFilterProxyModel::setFilterFile | ( | bool | value | ) |
Show/hide files
| void MySortFilterProxyModel::setFilterShare | ( | bool | value | ) |
Show/hide shares
QString MySortFilterProxyModel::fileLabel [private] |
bool MySortFilterProxyModel::MFile [private] |
bool MySortFilterProxyModel::MShare [private] |
QString MySortFilterProxyModel::shareLabel [private] |
1.5.3