GammaRay API Documentation
2.7.0
|
A KRecursiveFilterProxyModel for ObjectIds. More...
#include <objectidfilterproxymodel.h>
Public Member Functions | |
ObjectIdsFilterProxyModel (QObject *parent=nullptr) | |
GammaRay::ObjectIds | ids () const |
void | setIds (const GammaRay::ObjectIds &ids) |
void | sort (int column, Qt::SortOrder order=Qt::AscendingOrder) override |
Protected Member Functions | |
bool | acceptRow (int source_row, const QModelIndex &source_parent) const override |
bool | filterAcceptsObjectId (const GammaRay::ObjectId &id) const |
A KRecursiveFilterProxyModel for ObjectIds.
Filter in and sort according to the objects list.
|
explicit |
Constructor.
parent | is the parent object for this instance. |
|
overrideprotected |
Determines if the item in the specified row can be included in the model.
source_row | is a non-zero integer representing the row of the item. |
source_parent | is the parent QModelIndex for this model. |
|
protected |