diff options
| author | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
|---|---|---|
| committer | tony mancill <tmancill@debian.org> | 2023-09-03 19:46:43 -0700 |
| commit | 393a486ee1d7e308a49f8e0b8c3a4b2f43223248 (patch) | |
| tree | 6a6e8a56ace360795e1cf1a310d5652bb23f1386 /qmap/sleep.h | |
| parent | 6a285ab382ebff18c88e52bec75dc1773ac33b74 (diff) | |
New upstream version 2.7.0~rc2+repackupstream/2.7.0_rc2+repack
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
|
