MySortFilterProxyModel Class Reference

Reimplement QSortFilterProxyModel. More...

List of all members.

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


Detailed Description

Reimplement QSortFilterProxyModel.

Date:
2007-06-27
Version:
1.0
Author:
Daniel Rocher
Parameters:
share_label the label of share used in LogForm
file_label the label of file used in LogForm
parent parent of this object
See also:
LogForm

Constructor & Destructor Documentation

MySortFilterProxyModel::MySortFilterProxyModel ( QString  share_label,
QString  file_label,
QObject *  parent 
)

MySortFilterProxyModel::~MySortFilterProxyModel (  )  [virtual]


Member Function Documentation

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


Member Data Documentation

QString MySortFilterProxyModel::fileLabel [private]

bool MySortFilterProxyModel::MFile [private]

bool MySortFilterProxyModel::MShare [private]

QString MySortFilterProxyModel::shareLabel [private]


The documentation for this class was generated from the following files:
Generated on Fri Nov 2 21:44:59 2007 for qtsmbstatus.kdevelop by  doxygen 1.5.3