I want to save the QList<QTime> before quit the App add read it when the App run.
QList<QTime> timeList;
//save settings
settings.setValue("timeList",timeList);//Is this right?
//read settings
timeList=settings.value("timeList").toList();//It does work
//how can I do?
QList<QTime> timeList;
//save settings
settings.setValue("timeList",timeList);//Is this right?
//read settings
timeList=settings.value("timeList").toList();//It does work
//how can I do?
To copy to clipboard, switch view to plain text mode
who can help me?
thank you!!
Bookmarks