13#include <QAbstractNativeEventFilter>
14#include <QSharedPointer>
16class test_AppController;
20class WorkflowController;
21class CommandLineParser;
25 ,
public QAbstractNativeEventFilter
38 bool mShutdownRunning;
39 const UIPlugIn* mUiDomination;
40 bool mRestartApplication;
43 [[nodiscard]]
bool canStartNewWorkflow() const;
44 void completeShutdown();
49 bool eventFilter(QObject* pObj, QEvent* pEvent) override;
51#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
52 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage, qintptr* pResult)
override;
54 bool nativeEventFilter(
const QByteArray& pEventType,
void* pMessage,
long* pResult)
override;
73 void fireUiDomination(
const UIPlugIn* pUi,
const QString& pInformation,
bool pAccepted);
77 void doShutdown(
int pExitCode = EXIT_SUCCESS);
78 void onUiPlugin(
const UIPlugIn* pPlugin);
79 void onWorkflowFinished();
80 void onWorkflowRequested(
const QSharedPointer<WorkflowRequest>& pRequest);
81 void onCloseReminderFinished(
bool pDontRemindAgain);
82 void onAuthenticationContextRequest(
const QSharedPointer<ActivationContext>& pActivationContext);
83 void onLanguageChanged();
84 void onUILoaderShutdownComplete();
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: ActivationController.h:16
Definition: AppController.h:26
bool nativeEventFilter(const QByteArray &pEventType, void *pMessage, qintptr *pResult) override
Definition: AppController.cpp:476
bool shouldApplicationRestart() const
Definition: AppController.cpp:171
void fireWorkflowStarted(QSharedPointer< WorkflowContext > pContext)
void fireApplicationActivated()
void fireWorkflowFinished(QSharedPointer< WorkflowContext > pContext)
void fireProxyAuthenticationRequired(const QNetworkProxy &pProxy, QAuthenticator *pAuthenticator)
void fireShowUserInformation(const QString &pInformationMessage)
friend int initApp(int &, char **)
bool eventFilter(QObject *pObj, QEvent *pEvent) override
Definition: AppController.cpp:81
bool start()
Definition: AppController.cpp:110
void fireShowUi(UiModule pModule)
void fireUiDomination(const UIPlugIn *pUi, const QString &pInformation, bool pAccepted)
void fireTranslationChanged()
friend class ::test_AppController
Definition: AppController.h:29
void fireUiDominationReleased()
Definition: CommandLineParser.h:16
Definition: WorkflowRequest.h:25
A simple template renderer.
Definition: ActivationContext.h:15