13 #include <QSharedPointer>
16 class test_WorkflowModel;
35 friend class ::test_WorkflowModel;
37 QSharedPointer<WorkflowContext> mContext;
44 void resetWorkflowContext(
const QSharedPointer<WorkflowContext>& pContext = QSharedPointer<WorkflowContext>());
69 Q_INVOKABLE QString
getEmailBody(
bool pPercentEncoding =
false,
bool pAddLogNotice =
false)
const;
Definition: WorkflowModel.h:23
void resetWorkflowContext(const QSharedPointer< WorkflowContext > &pContext=QSharedPointer< WorkflowContext >())
Definition: WorkflowModel.cpp:39
Q_INVOKABLE void cancelWorkflowToChangePin()
Definition: WorkflowModel.cpp:135
~WorkflowModel() override
Definition: WorkflowModel.cpp:34
bool isError() const
Definition: WorkflowModel.cpp:71
bool error
Definition: WorkflowModel.h:27
QString resultString
Definition: WorkflowModel.h:26
bool errorIsMasked
Definition: WorkflowModel.h:28
ReaderManagerPlugInType readerPlugInType
Definition: WorkflowModel.h:29
void fireReaderPlugInTypeChanged()
QString getCurrentState() const
Definition: WorkflowModel.cpp:59
Q_INVOKABLE QString getEmailBody(bool pPercentEncoding=false, bool pAddLogNotice=false) const
Definition: WorkflowModel.cpp:235
Q_INVOKABLE bool shouldSkipResultView() const
Definition: WorkflowModel.cpp:202
Q_INVOKABLE void setInitialPluginType()
Definition: WorkflowModel.cpp:168
void fireNextWorkflowPendingChanged()
void setReaderPlugInType(ReaderManagerPlugInType pReaderPlugInType)
Definition: WorkflowModel.cpp:94
void fireCurrentStateChanged(const QString &pState)
void fireIsBasicReaderChanged()
QString currentState
Definition: WorkflowModel.h:25
Q_INVOKABLE void continueWorkflow()
Definition: WorkflowModel.cpp:108
Q_INVOKABLE bool selectedReaderHasCard() const
Definition: WorkflowModel.cpp:192
Q_INVOKABLE void sendResultMail() const
Definition: WorkflowModel.cpp:247
Q_INVOKABLE QString getEmailHeader() const
Definition: WorkflowModel.cpp:224
QString readerImage
Definition: WorkflowModel.h:31
Q_INVOKABLE bool isCancellationByUser() const
Definition: WorkflowModel.cpp:214
bool hasNextWorkflowPending
Definition: WorkflowModel.h:32
QString getReaderImage() const
Definition: WorkflowModel.cpp:162
bool isBasicReader
Definition: WorkflowModel.h:30
bool isMaskedError() const
Definition: WorkflowModel.cpp:77
virtual QString getResultString() const
Definition: WorkflowModel.cpp:65
ReaderManagerPlugInType getReaderPlugInType() const
Definition: WorkflowModel.cpp:83
void onReaderManagerSignal()
Definition: WorkflowModel.cpp:258
WorkflowModel(QObject *pParent=nullptr)
Definition: WorkflowModel.cpp:21
Q_INVOKABLE void startScanIfNecessary()
Definition: WorkflowModel.cpp:126
Q_INVOKABLE void cancelWorkflow()
Definition: WorkflowModel.cpp:117
void fireReaderImageChanged()
bool getNextWorkflowPending() const
Definition: WorkflowModel.cpp:156
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15