#include <QtCore/qeventloop.h> #ifndef QEVENTLOOP_H class QEventLoop: public QObject{ /* Some contents are skipped to improve readability */ public: virtual int qt_metacall(enum QMetaObject::Call, int, void* *); /* ... */ }; #endif // QEVENTLOOP_H