AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
governikus::RemoteDeviceModel Klassenreferenz

#include <RemoteDeviceModel.h>

Klassendiagramm für governikus::RemoteDeviceModel:

Öffentliche Typen

enum  SettingsRemoteRoles {
  REMOTE_DEVICE_NAME = Qt::UserRole + 1, LAST_CONNECTED, DEVICE_ID, IS_NETWORK_VISIBLE,
  IS_SUPPORTED
}
 
enum  ColumnId : int { ReaderName = 0, ReaderStatus = 1 }
 

Öffentliche Slots

void onWidgetShown ()
 
void onWidgetHidden ()
 
void onKnownRemoteReadersChanged ()
 
void onDeviceDisconnected (GlobalStatus::Code pCloseCode, const QSharedPointer< RemoteDispatcher > &pRemoteDispatcher)
 

Signale

void fireModelChanged ()
 

Öffentliche Methoden

 RemoteDeviceModel (QObject *pParent=nullptr, bool pShowPairedReaders=true, bool pShowUnpairedReaders=true)
 
virtual QVariant headerData (int pSection, Qt::Orientation pOrientation, int pRole) const override
 
virtual int rowCount (const QModelIndex &pParent=QModelIndex()) const override
 
virtual int columnCount (const QModelIndex &pParent=QModelIndex()) const override
 
virtual QVariant data (const QModelIndex &pIndex, int pRole=Qt::DisplayRole) const override
 
virtual QHash< int, QByteArray > roleNames () const override
 
const QSharedPointer
< RemoteDeviceListEntry
getRemoteDeviceListEntry (const QModelIndex &pIndex) const
 
const QSharedPointer
< RemoteDeviceListEntry
getRemoteDeviceListEntry (QString pDeviceId) const
 
bool isPaired (const QModelIndex &pIndex) const
 
bool isSupported (const QModelIndex &pIndex) const
 
void forgetDevice (const QModelIndex &pIndex)
 
void forgetDevice (const QString &pDeviceId)
 

Dokumentation der Aufzählungstypen

Aufzählungswerte
ReaderName 
ReaderStatus 
Aufzählungswerte
REMOTE_DEVICE_NAME 
LAST_CONNECTED 
DEVICE_ID 
IS_NETWORK_VISIBLE 
IS_SUPPORTED 

Beschreibung der Konstruktoren und Destruktoren

RemoteDeviceModel::RemoteDeviceModel ( QObject *  pParent = nullptr,
bool  pShowPairedReaders = true,
bool  pShowUnpairedReaders = true 
)

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Dokumentation der Elementfunktionen

int RemoteDeviceModel::columnCount ( const QModelIndex &  pParent = QModelIndex()) const
overridevirtual
QVariant RemoteDeviceModel::data ( const QModelIndex &  pIndex,
int  pRole = Qt::DisplayRole 
) const
overridevirtual

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

void governikus::RemoteDeviceModel::fireModelChanged ( )
signal

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void RemoteDeviceModel::forgetDevice ( const QModelIndex &  pIndex)

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void RemoteDeviceModel::forgetDevice ( const QString &  pDeviceId)

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

const QSharedPointer< RemoteDeviceListEntry > RemoteDeviceModel::getRemoteDeviceListEntry ( const QModelIndex &  pIndex) const

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

const QSharedPointer< RemoteDeviceListEntry > RemoteDeviceModel::getRemoteDeviceListEntry ( QString  pDeviceId) const
QVariant RemoteDeviceModel::headerData ( int  pSection,
Qt::Orientation  pOrientation,
int  pRole 
) const
overridevirtual
bool RemoteDeviceModel::isPaired ( const QModelIndex &  pIndex) const
bool RemoteDeviceModel::isSupported ( const QModelIndex &  pIndex) const
void RemoteDeviceModel::onDeviceDisconnected ( GlobalStatus::Code  pCloseCode,
const QSharedPointer< RemoteDispatcher > &  pRemoteDispatcher 
)
slot

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void RemoteDeviceModel::onKnownRemoteReadersChanged ( )
slot

Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void RemoteDeviceModel::onWidgetHidden ( )
slot

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

void RemoteDeviceModel::onWidgetShown ( )
slot

Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

QHash< int, QByteArray > RemoteDeviceModel::roleNames ( ) const
overridevirtual
int RemoteDeviceModel::rowCount ( const QModelIndex &  pParent = QModelIndex()) const
overridevirtual

Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien: