PDA

View Full Version : sleep



sonuani
17th March 2008, 10:22
hi,
I want to make my program sleep for some minutes.
I tries using QThread::sleep(10);
but it seems sleep is a protected member.So how to use it.

wysota
17th March 2008, 12:37
Why would you want to do that? The GUI will not be responding and your application will look like it has frozen. Use QTimer instead.