#include <QtCore/qthread.h> #ifndef QTHREAD_H #ifndef QT_NO_THREAD class QThread: public QObject{ /* Some contents are skipped to improve readability */ public: enum Priority{ /* ... */ LowestPriority = 1, /* ... */ }; /* ... */ }; #else // QT_NO_THREAD #endif // QT_NO_THREAD #endif // QTHREAD_H