Model-class for helping display of readers of a profile.
More...
#include <profilereaderslistingmodel.h>
Model-class for helping display of readers of a profile.
ProfileReadersListingModel::ProfileReadersListingModel |
( |
Profile & |
aProfile | ) |
|
ProfileReadersListingModel::~ProfileReadersListingModel |
( |
| ) |
|
void ProfileReadersListingModel::addReader |
( |
const Hash & |
aFingerPrint | ) |
|
method for adding a reader. this change will be made to iProfile too.
- Parameters
-
aFingerPrint | is fingerprint of the reader to add |
virtual int ProfileReadersListingModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
re-implemented from QAbstractTableModel
- Returns
- number of columns in model
virtual QVariant ProfileReadersListingModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
re-implemented from QAbstractTableModel
- Returns
- data to display in list
virtual QVariant ProfileReadersListingModel::headerData |
( |
int |
aSection, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
virtual |
QString ProfileReadersListingModel::profileDisplayNameByFingerPrint |
( |
const Hash & |
aFingerPrint | ) |
|
method for retrieving display-name of a profile
void ProfileReadersListingModel::removeReader |
( |
const Hash & |
aFingerPrint | ) |
|
method for removing a reader. this change will be made to iProfile too.
- Parameters
-
aFingerPrint | is fingerprint of the reader to remove |
virtual int ProfileReadersListingModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
re-implemented from QAbstractTableModel
- Returns
- number of rows in list
void ProfileReadersListingModel::updateReaderDataInArray |
( |
const Hash & |
aFingerPrint, |
|
|
bool |
aEmit |
|
) |
| |
|
private |
QList<QPair<Hash,QString> > ProfileReadersListingModel::iNamesAndFingerPrints |
|
private |
Profile& ProfileReadersListingModel::iProfile |
|
private |
The documentation for this class was generated from the following file: