summaryrefslogtreecommitdiff
path: root/sleep.h
blob: c170c9c55a1faba080574c744aaed1676bb17ac3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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