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 
30  protected:
31  ChangePinModel() = default;
32  ~ChangePinModel() override = default;
33  static ChangePinModel& getInstance();
34 
35  public:
36  void resetContext(const QSharedPointer<ChangePinContext>& pContext = QSharedPointer<ChangePinContext>());
37 
38  virtual QString getResultString() const override;
39 
40  private Q_SLOTS:
41  void onPaceResultUpdated();
42 
43  Q_SIGNALS:
46 };
47 
48 
49 } // namespace governikus
ReaderManager.h
governikus::ChangePinModel::getResultString
virtual QString getResultString() const override
Definition: ChangePinModel.cpp:31
governikus::WorkflowModel::isError
bool isError() const
Definition: WorkflowModel.cpp:70
governikus::ChangePinModel::fireOnPinUnlocked
void fireOnPinUnlocked()
governikus::Env
Definition: Env.h:39
defineSingleton
defineSingleton(ChangePinModel) void ChangePinModel
Definition: ChangePinModel.cpp:13
governikus::WorkflowContext::firePaceResultUpdated
void firePaceResultUpdated()
governikus::WorkflowModel::getResultString
virtual QString getResultString() const
Definition: WorkflowModel.cpp:64
governikus::ChangePinModel::~ChangePinModel
~ChangePinModel() override=default
ChangePinContext.h
governikus::WorkflowModel::fireResultChanged
void fireResultChanged()
governikus::ChangePinContext::fireSuccessMessageChanged
void fireSuccessMessageChanged()
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:15
governikus::ChangePinModel::fireNewContextSet
void fireNewContextSet()
Env.h
governikus::ChangePinModel::getInstance
static ChangePinModel & getInstance()
Definition: ChangePinModel.cpp:42
WorkflowModel.h
governikus::ChangePinModel::resetContext
void resetContext(const QSharedPointer< ChangePinContext > &pContext=QSharedPointer< ChangePinContext >())
governikus::ChangePinModel::ChangePinModel
ChangePinModel()=default
governikus::ChangePinModel
Definition: ChangePinModel.h:23
ChangePinModel.h
governikus::WorkflowModel
Definition: WorkflowModel.h:23
SingletonHelper.h
governikus::WorkflowModel::resetContext
void resetContext(const QSharedPointer< WorkflowContext > &pContext=QSharedPointer< WorkflowContext >())
Definition: WorkflowModel.cpp:38