#include <QtCore/qwaitcondition.h> #ifndef QWAITCONDITION_H #ifndef QT_NO_THREAD class QWaitCondition{ /* Some contents are skipped to improve readability */ public: bool wait(struct QMutex* mutex, long unsigned int time = -1); /* ... */ }; #else #endif // QT_NO_THREAD #endif // QWAITCONDITION_H