From kde-devel Tue Jun 07 16:13:53 2005 From: Stefan Kombrink Date: Tue, 07 Jun 2005 16:13:53 +0000 To: kde-devel Subject: system independent sleep Message-Id: <200506071813.54006.katakombi () web ! de> X-MARC-Message: https://marc.info/?l=kde-devel&m=111816073704660 Hi all, is it possible that Qt offers plainly everything but not a single way to sleep system independently? The qthread class have the protected members usleep/msleep/sleep but I assume there's a reason they aren't public. I tried to write a custom QDelay class, which exports those protected members, and - surprise - it hangs on the call. And I don't need a timed signal that connects to a slot but a replacement for usleep. For the time being I include unistd.h but this won't compile on W32. any ideas? Stefan K. >8^) >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<