A QSortFilterProxyModel for generic Objects.
More...
#include <objecttypefilterproxymodel.h>
A QSortFilterProxyModel for generic Objects.
GammaRay::ObjectFilterProxyModelBase::ObjectFilterProxyModelBase |
( |
QObject * |
parent = 0 | ) |
|
|
inlineexplicit |
Constructor.
- Parameters
-
parent | is the parent object for this instance. |
virtual bool GammaRay::ObjectFilterProxyModelBase::filterAcceptsObject |
( |
QObject * |
object | ) |
const |
|
protectedpure virtual |
Determines if the specified QObject can be included in the model.
- Parameters
-
object | is a pointer to the QObject to test. |
- Returns
- true if the QObject can be included in the model; false otherwise.
Implemented in GammaRay::ObjectTypeFilterProxyModel< T >.
bool GammaRay::ObjectFilterProxyModelBase::filterAcceptsRow |
( |
int |
source_row, |
|
|
const QModelIndex & |
source_parent |
|
) |
| const |
|
inlineprotected |
Determines if the item in the specified row can be included in the model.
- Parameters
-
source_row | is a non-zero integer representing the row of the item. |
source_parent | is the parent QModelIndex for this model. |
- Returns
- true if the item in the row can be included in the model; otherwise returns false.
The documentation for this class was generated from the following file: