Nyphel
14th June 2007, 15:44
Hi,
I've finished the developement of an application, and I would like to add a small pause of 10 seconds in a function...
I've seen the Pause/Wait/Sleep functions, but the don't apply to an application. We can use them only in particular cases, like threads. I don't want to rewrite my application with threads...
But I've also heard that a QApplication is a thread. So, is there anything to create a small pause in my application ? Perhaps should I call a system function like system("pause") ?
Thanks for your hints :)
I've finished the developement of an application, and I would like to add a small pause of 10 seconds in a function...
I've seen the Pause/Wait/Sleep functions, but the don't apply to an application. We can use them only in particular cases, like threads. I don't want to rewrite my application with threads...
But I've also heard that a QApplication is a thread. So, is there anything to create a small pause in my application ? Perhaps should I call a system function like system("pause") ?
Thanks for your hints :)