How to save a file that contains 2 QMap datas in Qt?

Posted by Hanny on Stack Overflow See other posts from Stack Overflow or by Hanny
Published on 2010-06-13T13:48:23Z Indexed on 2010/06/13 13:52 UTC
Read the original article Hit count: 186

Filed under:
|

I have 2 datas which type is QMap:

1.QMap novel; QString tempChapter; QString tempStory;

2.QMap combo; int tempInd; QString tempChap;

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! :)

© Stack Overflow or respective owner

Related posts about qt

Related posts about qmap