QtCore/qeventloop.h Source File
Go to the documentation of this file.
53 class QEventLoopPrivate;
66 ExcludeUserInputEvents = 0x01,
67 ExcludeSocketNotifiers = 0x02,
68 WaitForMoreEvents = 0x04,
70 ExcludeUserInput = ExcludeUserInputEvents,
71 WaitForMore = WaitForMoreEvents,
73 X11ExcludeTimers = 0x08
75 , DeferredDeletion = 0x10
77 , EventLoopExec = 0x20
80 Q_DECLARE_FLAGS(ProcessEventsFlags, ProcessEventsFlag)
82 bool processEvents(ProcessEventsFlags flags = AllEvents);
83 void processEvents(ProcessEventsFlags flags,
int maximumTime);
85 int exec(ProcessEventsFlags flags = AllEvents);
86 void exit(
int returnCode = 0);
87 bool isRunning() const;
95 Q_DECLARE_OPERATORS_FOR_FLAGS(
QEventLoop::ProcessEventsFlags)
101 #endif // QEVENTLOOP_H
#define QT_BEGIN_NAMESPACE