title: QTextStream and std out
body: <p>I have the code:</p>
  
  <pre><code>QTextStream out(mFileHandle);
  
  out &lt;&lt; (QTime::currentTime().toString(Qt::LocalDate) + " - ").toAscii();
  out &lt;&lt; "Something another";
  
  std::cout &lt;&lt; "Data: \n";
  std::cout &lt;&lt; out.string();
  out.flush();
  </code></pre>
  
  <p>It writes to file but after 'Data:' I get '0', why? How to send data to both streams?</p>