AusweisApp2
ChangePinModel.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
10 #include "Env.h"
11 #include "WorkflowModel.h"
12 
13 #include <QObject>
14 #include <QQmlEngine>
15 #include <QSharedPointer>
16 #include <QString>
17 
18 namespace governikus
19 {
20 
22  : public WorkflowModel
23 {
24  Q_OBJECT
25  friend class Env;
26 
27  private:
28  QSharedPointer<ChangePinContext> mContext;
29  ChangePinModel() = default;
30  ~ChangePinModel() override = default;
31 
32  public:
33  void resetChangePinContext(const QSharedPointer<ChangePinContext>& pContext = QSharedPointer<ChangePinContext>());
34 
35  Q_INVOKABLE void startWorkflow(bool pRequestTransportPin);
36  QString getResultString() const override;
37 
38  private Q_SLOTS:
39  void onPaceResultUpdated();
40 
41  Q_SIGNALS:
42  void fireStartWorkflow(bool pRequestTransportPin);
45 };
46 
47 
48 } // namespace governikus
Definition: ChangePinModel.h:23
void resetChangePinContext(const QSharedPointer< ChangePinContext > &pContext=QSharedPointer< ChangePinContext >())
Definition: ChangePinModel.cpp:12
void fireStartWorkflow(bool pRequestTransportPin)
Q_INVOKABLE void startWorkflow(bool pRequestTransportPin)
Definition: ChangePinModel.cpp:27
QString getResultString() const override
Definition: ChangePinModel.cpp:33
Definition: Env.h:44
Definition: WorkflowModel.h:23
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15