UltraScan III
us_sleep.h
Go to the documentation of this file.
1 #ifndef US_SLEEP_H
3 #define US_SLEEP_H
4 
5 #include <QtCore>
6 
11 
12 class US_Sleep : public QThread
13 {
14  public:
15 
20  static void sleep( unsigned long secs )
21  {
22  QThread::sleep( secs );
23  }
24 
29  static void msleep( unsigned long msecs )
30  {
31  QThread::msleep( msecs );
32  }
33 
38  static void usleep( unsigned long usecs )
39  {
40  QThread::usleep( usecs );
41  }
42 };
43 
44 #endif