title: how to pause the program for some seconds?
body: <p>I want to pause my program for some seconds in a program that i'm writing by c++ Qt.in fact when the program arrive to one of my functions it stops for for example 5 seconds and then continue next lines.what should I do?</p>
  
  <p>that function is a member function of a class and I want to o that work(pausing)for each instance of the class...</p>