#include <QtCore/qmutex.h>
#ifndef QMUTEX_H
#ifndef QT_NO_THREAD
class QMutexLocker{
   /* Some contents are skipped to improve readability */
   private: union /*anonymous*/{
      class QMutex* mtx;
      quintptr val;
   };
   /* ... */
};
#else // QT_NO_THREAD
#endif // QT_NO_THREAD
#endif // QMUTEX_H