![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qohoscloseeventcontext_p.h>
Public Types | |
| enum class | CloseRootCause { NotSpecified , OnPrepareToTerminate , WindowStageClose , SubWindowClose } |
| enum class | CloseResolution { Reject , Close } |
Static Public Member Functions | |
| static CloseRootCause | getCloseRootCauseForEventOrDefault (QEvent *event) |
| static void | runWithCloseRootCauseSet (CloseRootCause rootCause, const std::function< void()> &task) |
| static void | runWithCloseRootCauseAndCloseResolutionConsumerSet (CloseRootCause rootCause, QOhosConsumer< CloseResolution > closeResolutionConsumer, const std::function< void()> &task) |
| static void | notifyCloseResolutionFromEventIfValid (QEvent *event) |
Definition at line 26 of file qohoscloseeventcontext_p.h.
|
strong |
| Enumerator | |
|---|---|
| Reject | |
| Close | |
Definition at line 37 of file qohoscloseeventcontext_p.h.
|
strong |
| Enumerator | |
|---|---|
| NotSpecified | |
| OnPrepareToTerminate | |
| WindowStageClose | |
| SubWindowClose | |
Definition at line 29 of file qohoscloseeventcontext_p.h.
|
static |
Definition at line 43 of file qohoscloseeventcontext.cpp.
Definition at line 49 of file qohoscloseeventcontext.cpp.
|
static |
Definition at line 28 of file qohoscloseeventcontext.cpp.
References QT_BEGIN_NAMESPACE::eventContextDataStack.
|
static |
Definition at line 23 of file qohoscloseeventcontext.cpp.