title: How to use QTextStream instead of QDataStream for load-save from QTableView?
body: <p>I am newbie on QT, So when I try to load and save data from QTableView into txt files in linux using QDataStream I have a problem like this :</p>
  
  <p>txt files contain data from tableview</p>
  
  <p><img src="https://i.stack.imgur.com/UNVs6.png" alt=""></p>
  
  <p>All I want is the data in txt files easily to read, for example :
  data1;data2
  data3;data3</p>
  
  <p>So, how to use QTextStream instead of QDataStream, because when I'm using QTextStream I can write output in txt just like this :</p>
  
  <pre><code>QFile ofile("/home/rizi/LearnQT/tes");
  ofile.open(QIODevice::ReadWrite | QIODevice::Text);
  QTextStream out(&amp;ofile);
  out &lt;&lt; line+"\n";
  </code></pre>