17#include <QSharedPointer>
20class test_WorkflowModel;
111 void onPaceResultUpdated();
Code
Definition GlobalStatus.h:30
Definition WorkflowModel.h:27
void fireWorkflowFinished()
void resetWorkflowContext(const QSharedPointer< WorkflowContext > &pContext=QSharedPointer< WorkflowContext >())
Definition WorkflowModel.cpp:48
~WorkflowModel() override=default
QString getStatusCodeImage() const
Definition WorkflowModel.cpp:258
void fireReaderPluginTypeChanged(bool pExplicitStart=false)
void fireLastReturnCodeChanged()
void fireIsCurrentSmartCardAllowedChanged()
bool isCurrentSmartCardAllowed
Definition WorkflowModel.h:39
virtual QList< ReaderManagerPluginType > getSupportedReaderPluginTypes() const
Definition WorkflowModel.cpp:229
Q_INVOKABLE void insertSimulator() const
Definition WorkflowModel.cpp:154
bool isError() const
Definition WorkflowModel.cpp:90
bool error
Definition WorkflowModel.h:33
QString resultString
Definition WorkflowModel.h:32
bool errorIsMasked
Definition WorkflowModel.h:34
void fireHasCardChanged()
ReaderManagerPluginType getReaderPluginType() const
Definition WorkflowModel.cpp:112
bool showRemoveCardFeedback
Definition WorkflowModel.h:46
QString getCurrentState() const
Definition WorkflowModel.cpp:78
Q_INVOKABLE QString getEmailBody(bool pPercentEncoding=false, bool pAddLogNotice=false) const
Definition WorkflowModel.cpp:457
QString getStatusHintActionText() const
Definition WorkflowModel.cpp:346
QString eidTypeMismatchError
Definition WorkflowModel.h:40
governikus::EnumCardReturnCode::CardReturnCode lastReturnCode
Definition WorkflowModel.h:48
Q_INVOKABLE bool shouldSkipResultView() const
Definition WorkflowModel.cpp:424
Q_INVOKABLE void setInitialPluginType()
Definition WorkflowModel.cpp:400
Q_INVOKABLE bool invokeStatusHintAction()
Definition WorkflowModel.cpp:366
void fireOnPasswordUsed()
void fireNextWorkflowPendingChanged()
void fireCurrentStateChanged(const QString &pState)
GlobalStatus::Code getStatusCode() const
Definition WorkflowModel.cpp:252
Q_INVOKABLE void startScanExplicitly()
Definition WorkflowModel.cpp:178
QString currentState
Definition WorkflowModel.h:31
void fireShowUiRequest(UiModule pModule)
Q_INVOKABLE void continueWorkflow()
Definition WorkflowModel.cpp:160
void setRemoveCardFeedback(bool pEnabled)
Definition WorkflowModel.cpp:391
Q_INVOKABLE void sendResultMail() const
Definition WorkflowModel.cpp:469
QString statusCodeImage
Definition WorkflowModel.h:45
Q_INVOKABLE QString getEmailHeader() const
Definition WorkflowModel.cpp:446
QString getStatusHintText() const
Definition WorkflowModel.cpp:308
CardReturnCode getLastReturnCode() const
Definition WorkflowModel.cpp:102
void fireSupportedPluginTypesChanged()
Q_INVOKABLE bool isCancellationByUser() const
Definition WorkflowModel.cpp:436
bool hasNextWorkflowPending
Definition WorkflowModel.h:41
bool isBasicReader
Definition WorkflowModel.h:37
void fireStateEntered(const QString &pState)
governikus::EnumReaderManagerPluginType::ReaderManagerPluginType readerPluginType
Definition WorkflowModel.h:35
void fireEidTypeMismatchErrorChanged()
void fireSelectedReaderChanged()
bool isMaskedError() const
Definition WorkflowModel.cpp:96
virtual QString getResultString() const
Definition WorkflowModel.cpp:84
QString getStatusHintTitle() const
Definition WorkflowModel.cpp:331
friend class ::test_WorkflowModel
Definition WorkflowModel.h:49
Q_INVOKABLE void insertSmartCard() const
Definition WorkflowModel.cpp:148
bool isRemoteReader
Definition WorkflowModel.h:38
QString statusHintText
Definition WorkflowModel.h:42
void setReaderPluginType(ReaderManagerPluginType pReaderPluginType)
Definition WorkflowModel.cpp:123
QList< ReaderManagerPluginType > supportedPluginTypes
Definition WorkflowModel.h:36
QString statusHintTitle
Definition WorkflowModel.h:43
Q_INVOKABLE void cancelWorkflow()
Definition WorkflowModel.cpp:169
void fireReaderImageChanged()
QString statusHintActionText
Definition WorkflowModel.h:44
bool hasCard
Definition WorkflowModel.h:47
bool getNextWorkflowPending() const
Definition WorkflowModel.cpp:246
void fireWorkflowStarted()
void fireRemoveCardFeedbackChanged()
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:17
QSharedPointer< T > decodeObject(const QByteArray &pData, bool pLogging=true)
Template function for decoding an OpenSSL type from DER encoded QByteArray.
Definition ASN1TemplateUtil.h:114