12 #include <QAbstractNativeEventFilter> 13 #include <QSharedPointer> 15 class test_AppController;
29 class WorkflowController;
30 class WorkflowRequest;
31 class CommandLineParser;
35 ,
public QAbstractNativeEventFilter
40 friend class ::test_AppController;
47 Action mCurrentAction;
51 bool mShutdownRunning;
52 const UIPlugIn* mUiDomination;
53 bool mRestartApplication;
56 [[nodiscard]]
bool canStartNewAction() const;
57 void completeShutdown();
63 bool eventFilter(QObject* pObj, QEvent* pEvent) override;
65 #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0) 66 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage, qintptr* pResult)
override;
68 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage,
long* pResult)
override;
88 void fireUiDomination(
const UIPlugIn* pUi,
const QString& pInformation,
bool pAccepted);
93 void doShutdown(
int pExitCode);
94 void onUiPlugin(UIPlugIn* pPlugin);
95 void onWorkflowFinished();
96 void onCloseReminderFinished(
bool pDontRemindAgain);
97 void onChangePinRequested(
bool pRequestTransportPin);
98 void onSelfAuthenticationRequested();
99 void onAuthenticationRequest(
const QUrl& pUrl);
100 void onAuthenticationContextRequest(
const QSharedPointer<ActivationContext>& pActivationContext);
101 void onRemoteServiceRequested();
102 void onLanguageChanged();
103 void onUILoaderShutdownComplete();
104 void onUiDominationRequested(
const UIPlugIn* pUi,
const QString& pInformation);
105 void onUiDominationRelease();
106 void onRestartApplicationRequested();
109 template<
typename Controller,
typename Context>
bool startNewWorkflow(Action pAction,
const QSharedPointer<Context>& pContext);
110 static void clearCacheFolders();
void fireApplicationActivated()
Definition: AppController.cpp:46
Definition: AppController.h:33
Definition: CommandLineParser.h:15
void fireUiDomination(const UIPlugIn *pUi, const QString &pInformation, bool pAccepted)
bool nativeEventFilter(const QByteArray &pEventType, void *pMessage, qintptr *pResult) override
Definition: AppController.cpp:598
defineEnumType(ActivationType, UNKNOWN, SHOWUI, STATUS, TCTOKENURL) defineEnumType(StatusFormat
Format types for status responses.
void fireShowUi(UiModule pModule)
Definition: WorkflowController.h:18
void fireWorkflowStarted(QSharedPointer< WorkflowContext > pContext)
Implementation of ActivationContext for Intent based activation on Android systems.
Definition: ActivationContext.h:14
void fireShowUserInformation(const QString &pInformationMessage)
void fireProxyAuthenticationRequired(const QNetworkProxy &pProxy, QAuthenticator *pAuthenticator)
void fireShowReaderSettings()
bool shouldApplicationRestart() const
Definition: AppController.cpp:225
bool start()
Definition: AppController.cpp:159
void fireWorkflowFinished(QSharedPointer< WorkflowContext > pContext)
Definition: ActivationController.h:15
Definition: SignalHandler.h:23
void fireUiDominationReleased()
void fireTranslationChanged()
AUTH
Definition: MsgTypes.h:16
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition: AppController.cpp:130