#include <QThread>static void msleep(unsigned long msecs) { QThread::msleep(msecs);...Sleeper::msleep(500);