#include <QtCore/QEventLoop>

More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QEventLoop


Public Types Index

Public Functions Index

QEventLoop (QObject *parent=0)
~QEventLoop ()
intexec (ProcessEventsFlags flags=AllEvents)
voidexit (int returnCode=0)
boolisRunning () const
boolprocessEvents (ProcessEventsFlags flags=AllEvents)
voidprocessEvents (ProcessEventsFlags flags, int maximumTime)
voidwakeUp ()

Public Slots Index

voidquit ()

Public Types


AllEvents 0x00
ExcludeUserInputEvents 0x01
ExcludeSocketNotifiers 0x02
WaitForMoreEvents 0x04
X11ExcludeTimers 0x08
EventLoopExec 0x20
DialogExec 0x40

Public Functions

QEventLoop (

~QEventLoop ()


int exec (
  • ProcessEventsFlagsflags)

void exit (
  • intreturnCode)

bool isRunning ()

bool processEvents (
  • ProcessEventsFlagsflags)

void processEvents (
  • ProcessEventsFlagsflags,
  • intmaximumTime )

void wakeUp ()

Public Slots

void quit ()

Last modified: 2015-07-24

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus