|  | Home · Overviews · Examples |

# QEventLoop Class Reference
[com.trolltech.qt.core module]

The `QEventLoop` class provides a means of entering and leaving an event loop. More...

Inherits `QObject`.

## Detailed Description

The `QEventLoop` class provides a means of entering and leaving an event loop.

At any time, you can create a `QEventLoop` object and call `exec` on it to start a local event loop. From within the event loop, calling `exit` will force `exec` to return.

See also `QAbstractEventDispatcher`.