AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
AuthModel.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include "WorkflowModel.h"
10 
11 #include <QObject>
12 #include <QSharedPointer>
13 #include <QString>
14 
15 
16 namespace governikus
17 {
18 
19 class AuthContext;
20 
21 class AuthModel
22  : public WorkflowModel
23 {
24  Q_OBJECT
25 
27 
28  QSharedPointer<AuthContext> mContext;
30 
31  public:
32  AuthModel(QObject* pParent = nullptr);
33  virtual ~AuthModel() override;
34 
35  void resetContext(const QSharedPointer<AuthContext>& pContext = QSharedPointer<AuthContext>());
36 
37  const QString& getTransactionInfo() const;
38 
39  public Q_SLOTS:
41 
42  Q_SIGNALS:
43  void fireTransactionInfoChanged();
44 };
45 
46 
47 } /* namespace governikus */
QString mTransactionInfo
Definition: AuthModel.h:29
Definition: AuthContext.h:47
void resetContext(const QSharedPointer< AuthContext > &pContext=QSharedPointer< AuthContext >())
Definition: AuthModel.cpp:26
void fireTransactionInfoChanged()
QSharedPointer< AuthContext > mContext
Definition: AuthModel.h:28
Definition: AuthModel.h:21
void onDidAuthenticateEac1Changed()
Definition: AuthModel.cpp:51
QString transactionInfo
Definition: AuthModel.h:26
const QString & getTransactionInfo() const
Definition: AuthModel.cpp:45
Definition: WorkflowModel.h:20