is this for testing purposes?
If yes, have a look at QTest::qSleep ( int ms )

Cheers