26class QOhosCloseEventContext
29 enum class CloseRootCause
37 enum class CloseResolution
43 static CloseRootCause getCloseRootCauseForEventOrDefault(QEvent *event);
44 static void runWithCloseRootCauseSet(CloseRootCause rootCause,
const std::function<
void()> &task);
45 static void runWithCloseRootCauseAndCloseResolutionConsumerSet(
46 CloseRootCause rootCause, QOhosConsumer<CloseResolution> closeResolutionConsumer,
const std::function<
void()> &task);
47 static void notifyCloseResolutionFromEventIfValid(QEvent *event);
QOhosConsumer< QOhosCloseEventContext::CloseResolution > closeResolutionConsumer
QOhosCloseEventContext::CloseRootCause closeRootCause