14 #include <QSharedPointer>
39 QSharedPointer<WorkflowContext> mContext;
40 bool mRequestTransportPin;
43 CardReturnCode getInputErrorCode()
const;
46 void onCardConnectionChanged();
60 void resetContext(
const QSharedPointer<WorkflowContext>& pContext = QSharedPointer<WorkflowContext>());
66 void setCan(
const QString& pCan);
69 void setPin(
const QString& pPin);
75 void setPuk(
const QString& pPuk);
89 void onReaderInfoChanged(
const QString& pReaderName);
Definition: NumberModel.h:21
bool isCanAllowedMode
Definition: NumberModel.h:35
QString pin
Definition: NumberModel.h:27
int retryCounter
Definition: NumberModel.h:33
QString can
Definition: NumberModel.h:26
QString newPin
Definition: NumberModel.h:28
bool pinDeactivated
Definition: NumberModel.h:34
void setCan(const QString &pCan)
Definition: NumberModel.cpp:138
void setNewPin(const QString &pNewPin)
Definition: NumberModel.cpp:170
void setRequestTransportPin(bool pEnabled)
Definition: NumberModel.cpp:313
bool requestTransportPin
Definition: NumberModel.h:36
void fireRequestTransportPinChanged()
void resetContext(const QSharedPointer< WorkflowContext > &pContext=QSharedPointer< WorkflowContext >())
Definition: NumberModel.cpp:41
QmlPasswordType getPasswordType() const
Definition: NumberModel.cpp:91
~NumberModel() override=default
QString getNewPin() const
Definition: NumberModel.cpp:162
QString puk
Definition: NumberModel.h:29
bool hasPasswordError
Definition: NumberModel.h:31
void fireReaderInfoChanged()
void setPuk(const QString &pPuk)
Definition: NumberModel.cpp:195
QString getInputError() const
Definition: NumberModel.cpp:230
bool hasError
Definition: NumberModel.h:30
bool isRequestTransportPin() const
Definition: NumberModel.cpp:323
QmlPasswordType
Definition: NumberModel.h:55
static NumberModel & getInstance()
Definition: NumberModel.cpp:35
void setPin(const QString &pPin)
Definition: NumberModel.cpp:153
void firePasswordTypeChanged()
QString getPin() const
Definition: NumberModel.cpp:147
QString inputError
Definition: NumberModel.h:32
QString getPuk() const
Definition: NumberModel.cpp:189
bool isPinDeactivated() const
Definition: NumberModel.cpp:293
QmlPasswordType passwordType
Definition: NumberModel.h:25
int getRetryCounter() const
Definition: NumberModel.cpp:280
void fireInputErrorChanged()
Q_INVOKABLE void requestNewPin()
Definition: NumberModel.cpp:122
QString getCan() const
Definition: NumberModel.cpp:132
void fireCanAllowedModeChanged()
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15