#include <QtCore/qmutex.h>
#ifndef QMUTEX_H
#ifndef QT_NO_THREAD
class QMutex{
   /* Some contents are skipped to improve readability */
   public: void lock();
   /* ... */
};
#else // QT_NO_THREAD
#endif // QT_NO_THREAD
#endif // QMUTEX_H