GammaRay API Documentaion
2.6.0
|
A KRecursiveFilterProxyModel for ObjectIds. More...
#include <objectidfilterproxymodel.h>
Public Member Functions | |
ObjectIdsFilterProxyModel (QObject *parent=Q_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 |