It is not very clear what you want, this what I understand
1. If you want to store data when app exits, and restore data when app starts, then you can QSettings to save and restore data (Note that you can only save data in QListWidget / QListWidgetItem, you cannot save QListWidget / QListWidgetItem itself)
2. If you want to store data when internet is disconnected, and restore data when internet restores, then you can use a container to store QListWidgetItem, using QList<QListWidgetItem*> (this would work if item is not already added to table)





Reply With Quote
Bookmarks