A templated generic ObjectFilterProxyModelBase for some data type.
More...
#include <objecttypefilterproxymodel.h>
template<typename T1, typename T2 = T1>
class GammaRay::ObjectTypeFilterProxyModel< T1, T2 >
A templated generic ObjectFilterProxyModelBase for some data type.
◆ ObjectTypeFilterProxyModel()
template<typename T1 , typename T2 = T1>
Constructor.
- Parameters
-
parent | is the parent object for this instance. |
◆ filterAcceptsObject()
template<typename T1 , typename T2 = T1>
|
inlineoverrideprotectedvirtual |
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.
Implements GammaRay::ObjectFilterProxyModelBase.