js8call/sleep.h
2018-02-08 21:28:33 -05:00

18 lines
274 B
C++

// -*- 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