Signals | Public Member Functions

AbstractRowFilter Class Reference

Abstract filter for filtering table rows. More...

#include <rdb/abstractrowfilter.h>

List of all members.

Signals

Public Member Functions


Detailed Description

Abstract filter for filtering table rows.

The inherited class must implement the filterRow() method.

See also:
TableItemModel

Constructor & Destructor Documentation

AbstractRowFilter ( QObject *  parent  ) 

Constructor.

Parameters:
parent The parent object.

Destructor.


Member Function Documentation

virtual bool filterRow ( int  id  )  [pure virtual]

Filter the given row.

Parameters:
id Identifier of the row to filter.
Returns:
true if the row should be included, false if it should be hidden.
void conditionsChanged (  )  [signal]

Emit this signal when the model needs to be updated.

This signal is automatically connected to TableItemModel::updateData().