| 75 | } |
| 76 | |
| 77 | void Clicker::msleep(int ms) |
| 78 | { |
| 79 | _interrupt_sleep_immediately.lock(); |
| 80 | |
| 81 | if (_run) { |
| 82 | _sleep_timer.wait(&_interrupt_sleep_immediately, ms); |
| 83 | } |
| 84 | |
| 85 | _interrupt_sleep_immediately.unlock(); |
| 86 | } |
| 87 | |
| 88 | #if defined(Q_OS_WIN) |
| 89 | void Clicker::leftClick() |
nothing calls this directly
no outgoing calls
no test coverage detected