title: QThreads , QObject and sleep function
body: <p>The problem I encountered is that I decided to implement <code>QThreads</code> the way they are supposed to, based on numerous articles:<br />
  <a href="https://www.qt.io/blog/2010/06/17/youre-doing-it-wrong" rel="nofollow noreferrer">https://www.qt.io/blog/2010/06/17/youre-doing-it-wrong</a><br />
  <a href="http://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/" rel="nofollow noreferrer">http://mayaposch.wordpress.com/2011/11/01/how-to-really-truly-use-qthreads-the-full-explanation/</a></p>
  <p>and issue at hand is that since the algorithm is run in separate <code>QObject</code> (wrapped in <code>QThread</code>). How can I call out something like <code>Thread::Sleep</code> or smth .. Any ideas?</p>
  <p>A small description of the software.
  Basically my application solves <code>TSP</code> (Traveling salesman problem). As the search goes along, it saves all the states in the history as <code>frames</code> ..(like visual frames). The search algorithms will be run on one thread.
  Main thread is handling with the GUI.
  Then there is the <code>Mediaplayer</code> like thread which tells <code>Main</code> thread what frame to display on screen. So where does the sleep come in ?
  In gui there is a slider that user can use to fast forward or go in normal pace.. that slider tells via signal slot to <code>Mediaplayer</code> thread to go faster or slower.</p>