13 #include <QAbstractNativeEventFilter>
14 #include <QAuthenticator>
15 #include <QNetworkProxy>
16 #include <QSharedPointer>
18 class test_AppController;
22 class WorkflowController;
23 class CommandLineParser;
27 ,
public QAbstractNativeEventFilter
31 friend class ::test_AppController;
39 bool mShutdownRunning;
40 const UIPlugIn* mUiDomination;
41 bool mRestartApplication;
44 [[nodiscard]]
bool canStartNewWorkflow() const;
45 void completeShutdown();
46 void waitForNetworkConnections(const std::function<
void()>& pExitFunc);
51 bool eventFilter(QObject* pObj, QEvent* pEvent) override;
53 #if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
54 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage, qintptr* pResult)
override;
56 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage,
long* pResult)
override;
75 void fireUiDomination(
const UIPlugIn* pUi,
const QString& pInformation,
bool pAccepted);
79 void doShutdown(
int pExitCode = EXIT_SUCCESS);
80 void onUiPlugin(
const UIPlugIn* pPlugin);
81 void onWorkflowFinished();
82 void onWorkflowRequested(
const QSharedPointer<WorkflowRequest>& pRequest);
83 void onCloseReminderFinished(
bool pDontRemindAgain);
84 void onLanguageChanged();
85 void onUiDominationRequested(
const UIPlugIn* pUi,
const QString& pInformation);
86 void onUiDominationRelease();
87 void onRestartApplicationRequested();
90 bool startNewWorkflow(
const QSharedPointer<WorkflowRequest>& pRequest);
91 static void clearCacheFolders();
Definition: AppController.h:28
bool nativeEventFilter(const QByteArray &pEventType, void *pMessage, qintptr *pResult) override
Definition: AppController.cpp:495
bool shouldApplicationRestart() const
Definition: AppController.cpp:174
void fireWorkflowStarted(QSharedPointer< WorkflowContext > pContext)
void fireApplicationActivated()
void fireWorkflowFinished(QSharedPointer< WorkflowContext > pContext)
void fireProxyAuthenticationRequired(const QNetworkProxy &pProxy, QAuthenticator *pAuthenticator)
void fireShowUserInformation(const QString &pInformationMessage)
void start()
Definition: AppController.cpp:110
friend int initApp(int &, char **)
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition: AppController.cpp:81
void fireShowUi(UiModule pModule)
void fireUiDomination(const UIPlugIn *pUi, const QString &pInformation, bool pAccepted)
void fireTranslationChanged()
void fireUiDominationReleased()
Definition: CommandLineParser.h:16
Definition: WorkflowRequest.h:25
Implementation of GeneralAuthenticate response APDUs.
Definition: CommandApdu.h:16