45 #include <QtCore/qobject.h> 66 ExcludeUserInputEvents = 0x01,
67 ExcludeSocketNotifiers = 0x02,
68 WaitForMoreEvents = 0x04,
70 ExcludeUserInput = ExcludeUserInputEvents,
71 WaitForMore = WaitForMoreEvents,
73 X11ExcludeTimers = 0x08
75 , DeferredDeletion = 0x10
77 , EventLoopExec = 0x20
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;
101 #endif // QEVENTLOOP_H
#define QT_END_NAMESPACE
This macro expands to.
#define Q_DECLARE_FLAGS(Flags, Enum)
The Q_DECLARE_FLAGS() macro expands to.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QEventLoop class provides a means of entering and leaving an event loop.
#define Q_DECLARE_OPERATORS_FOR_FLAGS(Flags)
The Q_DECLARE_OPERATORS_FOR_FLAGS() macro declares global operator|() functions for Flags...
ProcessEventsFlag
This enum controls the types of events processed by the processEvents() functions.
#define Q_DECLARE_PRIVATE(Class)