[Qt-interest] QThread::sleep static protected

Patric userqt at gmail.com
Sun May 31 14:31:46 CEST 2009


Hello, 
I'm trying to sleep my thread for 5 seconds and I tried to use QThread::sleep. But it's protected and it seems I can't use it. 
QThread::sleep(5); for example. 

What's the best way to pause my program for 5 seconds, I'm trying to implement a timeout. 


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4098 (20090522) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090531/8d2a8a76/attachment.html 


More information about the Qt-interest-old mailing list