#include "Client.h" #include "App.h" #include #include "Settings.h" class Sleeper: public QThread { public: static void msleep(unsigned long msecs) { QThread::msleep(msecs); } }; int main(int argc, char **argv) { App a(argc, argv); for(;;) { App::processEvents(); Sleeper::msleep(1); } return 0; }