AusweisApp
|
#include <RemoteDeviceModel.h>
Öffentliche Typen | |
enum | SettingsRemoteRoles { REMOTE_DEVICE_NAME = Qt::UserRole + 1 , REMOTE_DEVICE_STATUS , LAST_CONNECTED , DEVICE_ID , IS_NETWORK_VISIBLE , IS_SUPPORTED , IS_PAIRED , IS_PAIRING , LINK_QUALITY , IS_LAST_ADDED_DEVICE } |
Öffentliche Slots | |
void | onTranslationChanged () |
void | onKnownRemoteReadersChanged () |
void | onDeviceDisconnected (GlobalStatus::Code pCloseCode, const QString &pId) |
Signale | |
void | fireModelChanged () |
Öffentliche Methoden | |
RemoteDeviceModel (QObject *pParent=nullptr) | |
int | rowCount (const QModelIndex &pParent=QModelIndex()) const override |
QVariant | data (const QModelIndex &pIndex, int pRole=Qt::DisplayRole) const override |
QHash< int, QByteArray > | roleNames () const override |
QSharedPointer< IfdListEntry > | getRemoteDeviceListEntry (const QModelIndex &pIndex) const |
QSharedPointer< IfdListEntry > | getRemoteDeviceListEntry (const QByteArray &pDeviceId) const |
bool | isPaired (const QModelIndex &pIndex) const |
bool | isPairing (const QModelIndex &pIndex) const |
bool | isSupported (const QModelIndex &pIndex) const |
void | forgetDevice (const QModelIndex &pIndex) |
void | forgetDevice (const QByteArray &pDeviceId) |
void | setLastPairedReader (const QSslCertificate &pCert) |
void | startDetection () |
void | stopDetection (bool pStopScan) |
Freundbeziehungen | |
class | ::test_RemoteDeviceModel |
class | ::test_RemoteDeviceFilterModel |
|
explicit |
|
override |
|
signal |
void RemoteDeviceModel::forgetDevice | ( | const QByteArray & | pDeviceId | ) |
void RemoteDeviceModel::forgetDevice | ( | const QModelIndex & | pIndex | ) |
QSharedPointer< IfdListEntry > RemoteDeviceModel::getRemoteDeviceListEntry | ( | const QByteArray & | pDeviceId | ) | const |
QSharedPointer< IfdListEntry > RemoteDeviceModel::getRemoteDeviceListEntry | ( | const QModelIndex & | pIndex | ) | const |
bool RemoteDeviceModel::isPaired | ( | const QModelIndex & | pIndex | ) | const |
bool RemoteDeviceModel::isPairing | ( | const QModelIndex & | pIndex | ) | const |
bool RemoteDeviceModel::isSupported | ( | const QModelIndex & | pIndex | ) | const |
|
slot |
|
slot |
|
slot |
|
override |
|
override |
void RemoteDeviceModel::setLastPairedReader | ( | const QSslCertificate & | pCert | ) |
void RemoteDeviceModel::startDetection | ( | ) |