AusweisApp2
governikus::ApplicationModel Klassenreferenz

#include <ApplicationModel.h>

Klassendiagramm für governikus::ApplicationModel:

Öffentliche Typen

enum class  Settings { SETTING_WIFI , SETTING_NETWORK , SETTING_NFC , SETTING_BLUETOOTH }
 

Öffentliche Slots

Q_INVOKABLE void onShowNextFeedback ()
 

Signale

void fireNfcEnabledChanged ()
 
void fireNfcRunningChanged ()
 
void fireReaderPropertiesUpdated ()
 
void fireBluetoothEnabledChanged ()
 
void fireBluetoothRespondingChanged ()
 
void fireBluetoothReaderChanged ()
 
void fireCurrentWorkflowChanged ()
 
void fireAvailableReaderChanged ()
 
void fireScaleFactorChanged ()
 
void fireWifiEnabledChanged ()
 
void fireCertificateRemoved (const QString &pDeviceName)
 
void fireFeedbackChanged ()
 

Öffentliche Methoden

void resetContext (const QSharedPointer< WorkflowContext > &pContext=QSharedPointer< WorkflowContext >())
 
QString getPackageName () const
 
QUrl getReleaseNotesUrl () const
 
bool isNfcAvailable () const
 
bool isNfcEnabled () const
 
bool isNfcRunning () const
 
void setNfcRunning (bool pRunning)
 
bool isExtendedLengthApdusUnsupported () const
 
bool isBluetoothAvailable () const
 
bool isBluetoothResponding () const
 
bool isBluetoothEnabled () const
 
void setBluetoothEnabled (bool pEnabled)
 
bool locationPermissionRequired () const
 
bool isWifiEnabled () const
 
qreal getScaleFactor () const
 
void setScaleFactor (qreal pScaleFactor)
 
QString getCurrentWorkflow () const
 
int getAvailableReader () const
 
QString getFeedback () const
 
Q_INVOKABLE bool isScreenReaderRunning () const
 
Q_INVOKABLE void stopNfcScanWithError (const QString &pError) const
 
Q_INVOKABLE bool isReaderTypeAvailable (ReaderManagerPlugInType pPlugInType) const
 
Q_INVOKABLE void enableWifi ()
 
Q_INVOKABLE void showSettings (const Settings &pAction)
 
Q_INVOKABLE void showSettings (const QString &pAction)
 
Q_INVOKABLE void showFeedback (const QString &pMessage, bool pReplaceExisting=false)
 
Q_INVOKABLE void keepScreenOn (bool pActive)
 
Q_INVOKABLE QString onlineHelpUrl (const QString &pHelpSectionName)
 
Q_INVOKABLE void openOnlineHelp (const QString &pHelpSectionName)
 
Q_INVOKABLE QString stripHtmlTags (QString pString) const
 

Geschützte Methoden

 ApplicationModel ()
 
 ~ApplicationModel () override=default
 

Geschützte, statische Methoden

static ApplicationModelgetInstance ()
 

Propertys

QString packageName
 
QUrl releaseNotesUrl
 
bool nfcEnabled
 
bool nfcAvailable
 
bool nfcRunning
 
bool extendedLengthApdusUnsupported
 
bool bluetoothEnabled
 
bool bluetoothResponding
 
bool bluetoothAvailable
 
bool locationPermissionRequired
 
qreal scaleFactor
 
bool wifiEnabled
 
QString currentWorkflow
 
int availableReader
 
QString feedback
 

Freundbeziehungen

class Env
 

Dokumentation der Aufzählungstypen

◆ Settings

Aufzählungswerte
SETTING_WIFI 
SETTING_NETWORK 
SETTING_NFC 
SETTING_BLUETOOTH 

Beschreibung der Konstruktoren und Destruktoren

◆ ApplicationModel()

ApplicationModel::ApplicationModel ( )
protected
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ ~ApplicationModel()

governikus::ApplicationModel::~ApplicationModel ( )
overrideprotecteddefault

Dokumentation der Elementfunktionen

◆ enableWifi()

void ApplicationModel::enableWifi ( )
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ fireAvailableReaderChanged

void governikus::ApplicationModel::fireAvailableReaderChanged ( )
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireBluetoothEnabledChanged

void governikus::ApplicationModel::fireBluetoothEnabledChanged ( )
signal

◆ fireBluetoothReaderChanged

void governikus::ApplicationModel::fireBluetoothReaderChanged ( )
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireBluetoothRespondingChanged

void governikus::ApplicationModel::fireBluetoothRespondingChanged ( )
signal

◆ fireCertificateRemoved

void governikus::ApplicationModel::fireCertificateRemoved ( const QString &  pDeviceName)
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireCurrentWorkflowChanged

void governikus::ApplicationModel::fireCurrentWorkflowChanged ( )
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireFeedbackChanged

void governikus::ApplicationModel::fireFeedbackChanged ( )
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireNfcEnabledChanged

void governikus::ApplicationModel::fireNfcEnabledChanged ( )
signal

◆ fireNfcRunningChanged

void governikus::ApplicationModel::fireNfcRunningChanged ( )
signal

◆ fireReaderPropertiesUpdated

void governikus::ApplicationModel::fireReaderPropertiesUpdated ( )
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireScaleFactorChanged

void governikus::ApplicationModel::fireScaleFactorChanged ( )
signal
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ fireWifiEnabledChanged

void governikus::ApplicationModel::fireWifiEnabledChanged ( )
signal

◆ getAvailableReader()

int ApplicationModel::getAvailableReader ( ) const

◆ getCurrentWorkflow()

QString ApplicationModel::getCurrentWorkflow ( ) const

◆ getFeedback()

QString ApplicationModel::getFeedback ( ) const

◆ getInstance()

ApplicationModel & ApplicationModel::getInstance ( )
staticprotected

◆ getPackageName()

QString ApplicationModel::getPackageName ( ) const

◆ getReleaseNotesUrl()

QUrl ApplicationModel::getReleaseNotesUrl ( ) const
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ getScaleFactor()

qreal ApplicationModel::getScaleFactor ( ) const

◆ isBluetoothAvailable()

bool ApplicationModel::isBluetoothAvailable ( ) const

◆ isBluetoothEnabled()

bool ApplicationModel::isBluetoothEnabled ( ) const

◆ isBluetoothResponding()

bool ApplicationModel::isBluetoothResponding ( ) const

◆ isExtendedLengthApdusUnsupported()

bool ApplicationModel::isExtendedLengthApdusUnsupported ( ) const
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ isNfcAvailable()

bool ApplicationModel::isNfcAvailable ( ) const

◆ isNfcEnabled()

bool ApplicationModel::isNfcEnabled ( ) const

◆ isNfcRunning()

bool ApplicationModel::isNfcRunning ( ) const

◆ isReaderTypeAvailable()

bool ApplicationModel::isReaderTypeAvailable ( ReaderManagerPlugInType  pPlugInType) const

◆ isScreenReaderRunning()

bool ApplicationModel::isScreenReaderRunning ( ) const
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ isWifiEnabled()

bool ApplicationModel::isWifiEnabled ( ) const

◆ keepScreenOn()

void ApplicationModel::keepScreenOn ( bool  pActive)

◆ locationPermissionRequired()

bool ApplicationModel::locationPermissionRequired ( ) const

◆ onlineHelpUrl()

QString ApplicationModel::onlineHelpUrl ( const QString &  pHelpSectionName)
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ onShowNextFeedback

void ApplicationModel::onShowNextFeedback ( )
slot
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ openOnlineHelp()

void ApplicationModel::openOnlineHelp ( const QString &  pHelpSectionName)
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:

◆ resetContext()

void ApplicationModel::resetContext ( const QSharedPointer< WorkflowContext > &  pContext = QSharedPointer<WorkflowContext>())

◆ setBluetoothEnabled()

void ApplicationModel::setBluetoothEnabled ( bool  pEnabled)

◆ setNfcRunning()

void ApplicationModel::setNfcRunning ( bool  pRunning)

◆ setScaleFactor()

void ApplicationModel::setScaleFactor ( qreal  pScaleFactor)

◆ showFeedback()

void ApplicationModel::showFeedback ( const QString &  pMessage,
bool  pReplaceExisting = false 
)
Hier ist ein Graph, der zeigt, was diese Funktion aufruft:
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ showSettings() [1/2]

void ApplicationModel::showSettings ( const QString &  pAction)

◆ showSettings() [2/2]

void ApplicationModel::showSettings ( const Settings pAction)
Hier ist ein Graph der zeigt, wo diese Funktion aufgerufen wird:

◆ stopNfcScanWithError()

void ApplicationModel::stopNfcScanWithError ( const QString &  pError) const

◆ stripHtmlTags()

QString ApplicationModel::stripHtmlTags ( QString  pString) const

Freundbeziehungen und Funktionsdokumentation

◆ Env

friend class Env
friend

Dokumentation der Propertys

◆ availableReader

int governikus::ApplicationModel::availableReader
read

◆ bluetoothAvailable

bool governikus::ApplicationModel::bluetoothAvailable
read

◆ bluetoothEnabled

bool governikus::ApplicationModel::bluetoothEnabled
readwrite

◆ bluetoothResponding

bool governikus::ApplicationModel::bluetoothResponding
read

◆ currentWorkflow

QString governikus::ApplicationModel::currentWorkflow
read

◆ extendedLengthApdusUnsupported

bool governikus::ApplicationModel::extendedLengthApdusUnsupported
read

◆ feedback

QString governikus::ApplicationModel::feedback
read

◆ locationPermissionRequired

bool governikus::ApplicationModel::locationPermissionRequired
read

◆ nfcAvailable

bool governikus::ApplicationModel::nfcAvailable
read

◆ nfcEnabled

bool governikus::ApplicationModel::nfcEnabled
read

◆ nfcRunning

bool governikus::ApplicationModel::nfcRunning
readwrite

◆ packageName

QString governikus::ApplicationModel::packageName
read

◆ releaseNotesUrl

QUrl governikus::ApplicationModel::releaseNotesUrl
read

◆ scaleFactor

qreal governikus::ApplicationModel::scaleFactor
readwrite

◆ wifiEnabled

bool governikus::ApplicationModel::wifiEnabled
read

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