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::ProfileReadersListingModel |
( |
Profile & |
aProfile | ) |
|
◆ ~ProfileReadersListingModel()
| ProfileReadersListingModel::~ProfileReadersListingModel |
( |
| ) |
|
◆ addReader()
| 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 |
◆ columnCount()
| virtual int ProfileReadersListingModel::columnCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
re-implemented from QAbstractTableModel
- Returns
- number of columns in model
◆ data()
| virtual QVariant ProfileReadersListingModel::data |
( |
const QModelIndex & |
index, |
|
|
int |
role = Qt::DisplayRole |
|
) |
| const |
|
virtual |
re-implemented from QAbstractTableModel
- Returns
- data to display in list
◆ error
◆ headerData()
| virtual QVariant ProfileReadersListingModel::headerData |
( |
int |
aSection, |
|
|
Qt::Orientation |
orientation, |
|
|
int |
role |
|
) |
| const |
|
virtual |
◆ profileDisplayNameByFingerPrint()
| QString ProfileReadersListingModel::profileDisplayNameByFingerPrint |
( |
const Hash & |
aFingerPrint | ) |
|
method for retrieving display-name of a profile
◆ removeReader()
| 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 |
◆ rowCount()
| virtual int ProfileReadersListingModel::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
virtual |
re-implemented from QAbstractTableModel
- Returns
- number of rows in list
◆ updateReaderDataInArray()
| void ProfileReadersListingModel::updateReaderDataInArray |
( |
const Hash & |
aFingerPrint, |
|
|
bool |
aEmit |
|
) |
| |
|
private |
◆ iNamesAndFingerPrints
| QList<QPair<Hash,QString> > ProfileReadersListingModel::iNamesAndFingerPrints |
|
private |
◆ iProfile
| Profile& ProfileReadersListingModel::iProfile |
|
private |
The documentation for this class was generated from the following file: