![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
#include "flattenfiltermodel.h"
Inheritance diagram for LeechCraft::Util::FlattenFilterModel:
Collaboration diagram for LeechCraft::Util::FlattenFilterModel:Public Member Functions | |
| FlattenFilterModel (QObject *=0) | |
| QModelIndex | index (int, int, const QModelIndex &=QModelIndex()) const |
| QModelIndex | parent (const QModelIndex &) const |
| int | rowCount (const QModelIndex &parent=QModelIndex()) const |
| int | columnCount (const QModelIndex &parent=QModelIndex()) const |
| QVariant | data (const QModelIndex &index, int role=Qt::DisplayRole) const |
| void | SetSource (QAbstractItemModel *) |
Protected Member Functions | |
| virtual bool | IsIndexAccepted (const QModelIndex &) const |
Protected Attributes | |
| QAbstractItemModel * | Source_ |
| QList< QPersistentModelIndex > | SourceIndexes_ |
Definition at line 39 of file flattenfiltermodel.h.
| LeechCraft::Util::FlattenFilterModel::FlattenFilterModel | ( | QObject * | parent = 0 | ) |
Definition at line 36 of file flattenfiltermodel.cpp.
| int LeechCraft::Util::FlattenFilterModel::columnCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 60 of file flattenfiltermodel.cpp.
| QVariant LeechCraft::Util::FlattenFilterModel::data | ( | const QModelIndex & | index, |
| int | role = Qt::DisplayRole |
||
| ) | const |
Definition at line 65 of file flattenfiltermodel.cpp.
References SourceIndexes_.
| QModelIndex LeechCraft::Util::FlattenFilterModel::index | ( | int | row, |
| int | column, | ||
| const QModelIndex & | parent = QModelIndex () |
||
| ) | const |
Definition at line 42 of file flattenfiltermodel.cpp.
|
protectedvirtual |
Definition at line 105 of file flattenfiltermodel.cpp.
| QModelIndex LeechCraft::Util::FlattenFilterModel::parent | ( | const QModelIndex & | ) | const |
Definition at line 50 of file flattenfiltermodel.cpp.
| int LeechCraft::Util::FlattenFilterModel::rowCount | ( | const QModelIndex & | parent = QModelIndex() | ) | const |
Definition at line 55 of file flattenfiltermodel.cpp.
References SourceIndexes_.
| void LeechCraft::Util::FlattenFilterModel::SetSource | ( | QAbstractItemModel * | model | ) |
Definition at line 70 of file flattenfiltermodel.cpp.
References Source_, and SourceIndexes_.
|
protected |
Definition at line 43 of file flattenfiltermodel.h.
Referenced by SetSource().
|
protected |
Definition at line 44 of file flattenfiltermodel.h.
Referenced by data(), rowCount(), and SetSource().