diff options
Diffstat (limited to 'qmap/sleep.h')
| -rwxr-xr-x | qmap/sleep.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/qmap/sleep.h b/qmap/sleep.h new file mode 100755 index 00000000..d566cce2 --- /dev/null +++ b/qmap/sleep.h @@ -0,0 +1,16 @@ +#ifndef SLEEP_H
+#define SLEEP_H
+#include <qthread.h>
+
+class Sleep : public QThread
+{
+public:
+ static void msleep(int ms) {
+ QThread::msleep(ms);
+ }
+ static int idealThreadCount() {
+ return QThread::idealThreadCount();
+ }
+};
+
+#endif // SLEEP_H
|
