In order to save a QStandardItemModel to file, I would like to detect if changes where made to the model or not.
Changes may be:
- Update of items
- Deletion of items
- New items (add / insert)
- Movement of items (e.g. wihtin a tree)
The idea is to set a bool to true if a change is detetced.
How can the model be monitored with respect to changed data?