diff options
| author | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
|---|---|---|
| committer | Christoph Berg <myon@debian.org> | 2026-04-07 19:02:45 +0200 |
| commit | f647d78463c1250ce9c99af664615fafccf5e959 (patch) | |
| tree | 5b00428cef68aef1c9d407e2d4535687422419b6 /qmap/sleep.h | |
| parent | 0a13f1fdb9928b6d012569dd65f7f6ef18fac2f8 (diff) | |
New upstream version 3.0.0upstream/3.0.0
Diffstat (limited to 'qmap/sleep.h')
| -rw-r--r--[-rwxr-xr-x] | qmap/sleep.h | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/qmap/sleep.h b/qmap/sleep.h index d566cce2..c11188c2 100755..100644 --- a/qmap/sleep.h +++ b/qmap/sleep.h @@ -1,16 +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
+#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 |
