Model-class for performing a name-based search of profiles. This is supposed to act as an underlying data-container for an user-interface view (QListView etc.)
More...
#include <profilesearchmodel.h>
Model-class for performing a name-based search of profiles. This is supposed to act as an underlying data-container for an user-interface view (QListView etc.)
ProfileSearchModel::ProfileSearchModel |
( |
Model & |
aModel | ) |
|
ProfileSearchModel::~ProfileSearchModel |
( |
| ) |
|
virtual QVariant ProfileSearchModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
re-implemented from QAbstractListModel
- Returns
- data to display in list
void ProfileSearchModel::performSearch |
( |
| ) |
|
|
private |
virtual int ProfileSearchModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
re-implemented from QAbstractListModel
- Returns
- number of rows in list
void ProfileSearchModel::setSearchString |
( |
const QString & |
aSearch | ) |
|
Model& ProfileSearchModel::iModel |
|
private |
QList<QPair<Hash,QString> > ProfileSearchModel::iProfiles |
|
private |
QString ProfileSearchModel::iSearchString |
|
private |
The documentation for this class was generated from the following file: