AusweisApp
Lade ...
Suche ...
Keine Treffer
ChangePinModel.h
gehe zur Dokumentation dieser Datei
1
9#pragma once
10
11#include "Env.h"
12#include "WorkflowModel.h"
13#include "WorkflowRequest.h"
15
16#include <QObject>
17#include <QQmlEngine>
18#include <QSharedPointer>
19#include <QString>
20
21
22class test_UIPlugInQml;
23
24
25namespace governikus
26{
27
29 : public WorkflowModel
30{
31 Q_OBJECT
32 friend class Env;
33 friend class ::test_UIPlugInQml;
35
36 private:
37 QSharedPointer<ChangePinContext> mContext;
38 ChangePinModel() = default;
39 ~ChangePinModel() override = default;
40
41 public:
42 void resetChangePinContext(const QSharedPointer<ChangePinContext>& pContext = QSharedPointer<ChangePinContext>());
43
44 Q_INVOKABLE void startWorkflow(bool pRequestTransportPin, bool pActivateUi = true);
45 [[nodiscard]] QString getResultString() const override;
46 [[nodiscard]] QVector<ReaderManagerPlugInType> getSupportedReaderPlugInTypes() const override;
47 [[nodiscard]] bool isRequestTransportPin() const;
48
49 private Q_SLOTS:
50 void onPaceResultUpdated();
51
52 Q_SIGNALS:
53 void fireStartWorkflow(const QSharedPointer<WorkflowRequest>& pRequest);
55};
56
57
58} // namespace governikus
Definition ChangePinModel.h:30
void resetChangePinContext(const QSharedPointer< ChangePinContext > &pContext=QSharedPointer< ChangePinContext >())
Definition ChangePinModel.cpp:12
void fireStartWorkflow(const QSharedPointer< WorkflowRequest > &pRequest)
Q_INVOKABLE void startWorkflow(bool pRequestTransportPin, bool pActivateUi=true)
Definition ChangePinModel.cpp:28
QVector< ReaderManagerPlugInType > getSupportedReaderPlugInTypes() const override
Definition ChangePinModel.cpp:45
bool isRequestTransportPin() const
Definition ChangePinModel.cpp:56
QString getResultString() const override
Definition ChangePinModel.cpp:34
bool requestTransportPin
Definition ChangePinModel.h:34
Definition Env.h:42
Definition WorkflowModel.h:26
Implementation of GeneralAuthenticate response APDUs.
Definition CommandApdu.h:16