title: How to save a file that contains 2 QMap datas in Qt?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2570679/serialization-with-qt">Serialization with Qt</a>  </p>
  </blockquote>
  
  
  
  <p>I have 2 datas which type is QMap:</p>
  
  <p>1.QMap novel;
      QString tempChapter;
      QString tempStory;</p>
  
  <p>2.QMap combo;
      int tempInd;
      QString tempChap;</p>
  
  <p>my question is:
  How can I save these 2 Datas into a single file??
  And if it's successfully saved, how can I load these 2 datas?
  Please insert the code too because I'm a beginner C++ programmer and dont know much about OOP,,
  please answer this ASAP! Thank you very much! :) </p>