AusweisApp2
 Alle Klassen Namensbereiche Dateien Funktionen Variablen Typdefinitionen Aufzählungen Aufzählungswerte Propertys Freundbeziehungen Makrodefinitionen
WorkflowGui.h
gehe zur Dokumentation dieser Datei
1 
7 #pragma once
8 
9 #include <QScopedPointer>
10 #include <QWidget>
11 
12 #include "AppQtMainWidget.h"
14 #include "step/StepGui.h"
15 #include "WorkflowQtWidget.h"
16 #include "WorkflowWidgetParent.h"
17 
18 namespace governikus
19 {
20 
21 class WorkflowQtWidget;
22 
24  : public QObject
25 {
26  Q_OBJECT
27 
28  public:
30 };
31 
32 
34  : public QObject
35 {
36  Q_OBJECT
37 
38  protected:
39  QScopedPointer<WorkflowGuiDelegate> mDelegate;
40 
41  public:
42  WorkflowGui();
43  virtual ~WorkflowGui();
44 
46  {
47  return mDelegate.data();
48  }
49 
50 
51  virtual bool verifyAbortWorkflow() = 0;
52 
53  virtual void activate()
54  {
55  }
56 
57 
58  virtual void deactivate()
59  {
60  }
61 
62 
63  Q_SIGNALS:
64  void fireUserCancelled();
65  void fireChangePinRequest();
67 
68 };
69 
70 } /* namespace governikus */
virtual ~WorkflowGui()
Definition: WorkflowGui.cpp:22
WorkflowGuiDelegate * getWorkflowGuiDelegate() const
Definition: WorkflowGui.h:45
WorkflowGuiDelegate()
Definition: WorkflowGui.cpp:11
Definition: WorkflowGui.h:23
virtual void activate()
Definition: WorkflowGui.h:53
virtual bool verifyAbortWorkflow()=0
virtual void deactivate()
Definition: WorkflowGui.h:58
WorkflowGui()
Definition: WorkflowGui.cpp:16
void fireSwitchToReaderSettingsRequested()
Definition: WorkflowGui.h:33
QScopedPointer< WorkflowGuiDelegate > mDelegate
Definition: WorkflowGui.h:39