1 #ifndef SLEEP_H
2 #define SLEEP_H
3 #include <qthread.h>
4 
5 class Sleep : public QThread
6 {
7 public:
msleep(int ms)8   static void msleep(int ms) {
9     QThread::msleep(ms);
10   }
idealThreadCount()11   static int idealThreadCount() {
12     return QThread::idealThreadCount();
13   }
14 };
15 
16 #endif // SLEEP_H
17