AusweisApp2
FinalState.h
gehe zur Dokumentation dieser Datei
1
7
#pragma once
8
9
#include "
AbstractState.h
"
10
#include "
GenericContextContainer.h
"
11
12
namespace
governikus
13
{
14
15
class
FinalState
16
:
public
AbstractState
17
,
public
GenericContextContainer
<WorkflowContext>
18
{
19
Q_OBJECT
20
21
private
:
22
virtual
void
run()
override
;
23
24
protected
:
25
void
onEntry
(QEvent* pEvent)
override
26
{
27
AbstractState::onEntry
(pEvent);
28
getContext
()->setWorkflowFinished(
true
);
29
}
30
31
public
:
32
explicit
FinalState
(
const
QSharedPointer<WorkflowContext>& pContext)
33
:
AbstractState
(pContext, false)
34
,
GenericContextContainer
(pContext)
35
{
36
}
37
38
39
};
40
41
}
// namespace governikus
governikus::FinalState::FinalState
FinalState(const QSharedPointer< WorkflowContext > &pContext)
Definition:
FinalState.h:32
AbstractState.h
GenericContextContainer.h
governikus::AbstractState
Definition:
AbstractState.h:18
governikus::GenericContextContainer< WorkflowContext >::getContext
virtual QSharedPointer< WorkflowContext > getContext()
Definition:
GenericContextContainer.h:34
governikus
Implementation of ActivationContext for Intent based activation on Android systems.
Definition:
ActivationContext.h:14
governikus::FinalState::onEntry
void onEntry(QEvent *pEvent) override
Definition:
FinalState.h:25
governikus::GenericContextContainer
Definition:
GenericContextContainer.h:19
governikus::FinalState
Definition:
FinalState.h:15
governikus::AbstractState::onEntry
void onEntry(QEvent *pEvent) override
Definition:
AbstractState.cpp:66
src
core
states
FinalState.h
Erzeugt von
1.8.15