#include <QtCore/qeventloop.h> #ifndef QEVENTLOOP_H class QEventLoop: public QObject{ /* Some contents are skipped to improve readability */ public: enum ProcessEventsFlag{ /* ... */ WaitForMoreEvents = 4, /* ... */ }; /* ... */ }; #endif // QEVENTLOOP_H