diff options
Diffstat (limited to 'sleep.h')
| -rwxr-xr-x | sleep.h | 34 |
1 files changed, 17 insertions, 17 deletions
@@ -1,17 +1,17 @@ -// -*- Mode: C++ -*-
-#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
+// -*- Mode: C++ -*- +#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 |
