Save history information for collection of items with non-XML data.
QStringList savedFileNames() const
Returns list of file names used to save all items in a history.
DatafieldSaveInfo itemInfo(const SaveLoadInterface *item) const
bool wasModifiedSinceLastSave(const SaveLoadInterface *item)
bool contains(const SaveLoadInterface *item)
QVector< DatafieldSaveInfo > m_history
void markAsSaved(const SaveLoadInterface *item)
DatafieldDirHistory()=default
Save history information for set of directories.
void setHistory(const QString &dirname, const DatafieldDirHistory &history)
Sets history for given directory. Previous history will be rewritten.
bool wasModifiedSinceLastSave(const QString &dirname, const SaveLoadInterface *item)
QStringList savedFileNames(const QString &dirname) const
QMap< QString, DatafieldDirHistory > m_dir_history
< Correspondence of directory name to save history.
bool hasHistory(const QString &dirname) const