GammaRay  1.3.0
 All Classes Namespaces Files Functions Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions
GammaRay::ObjectTypeFilterProxyModel< T > Class Template Reference

A templated generic ObjectFilterProxyModelBase for some data type. More...

#include <objecttypefilterproxymodel.h>

Inheritance diagram for GammaRay::ObjectTypeFilterProxyModel< T >:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 ObjectTypeFilterProxyModel (QObject *parent=0)
- Public Member Functions inherited from GammaRay::ObjectFilterProxyModelBase
 ObjectFilterProxyModelBase (QObject *parent=0)

Protected Member Functions

virtual bool filterAcceptsObject (QObject *object) const
- Protected Member Functions inherited from GammaRay::ObjectFilterProxyModelBase
bool filterAcceptsRow (int source_row, const QModelIndex &source_parent) const

Detailed Description

template<typename T>
class GammaRay::ObjectTypeFilterProxyModel< T >

A templated generic ObjectFilterProxyModelBase for some data type.


Constructor & Destructor Documentation

template<typename T >
GammaRay::ObjectTypeFilterProxyModel< T >::ObjectTypeFilterProxyModel ( QObject *  parent = 0)
inlineexplicit

Constructor.

Parameters:
parentis the parent object for this instance.

Member Function Documentation

template<typename T >
virtual bool GammaRay::ObjectTypeFilterProxyModel< T >::filterAcceptsObject ( QObject *  object) const
inlineprotectedvirtual

Determines if the specified QObject can be included in the model.

Parameters:
objectis a pointer to the QObject to test.
Returns:
true if the QObject can be included in the model; false otherwise.

Implements GammaRay::ObjectFilterProxyModelBase.


The documentation for this class was generated from the following file:

Klarälvdalens Datakonsult AB (KDAB)
"The Cross-Platform Experts"
http://www.kdab.com/
GammaRay
Qt-application inspection and manipulation tool
http://www.kdab.com/kdab-products/gammaray/