15 #ifndef BORNAGAIN_GUI_VIEW_PROJECT_SAVESERVICE_H
16 #define BORNAGAIN_GUI_VIEW_PROJECT_SAVESERVICE_H
34 void save(
const QString& project_file_name);
Triggers autosave request after some accumulated ammount of document changes.
Project document class handles all data related to the opened project (sample, job,...
Provides save/autosave of ProjectDocument in a thread.
void setAutosaveTime(int timerInterval)
Sets autosave time (in msec)
SaveService(QObject *parent=nullptr)
void setAutosaveEnabled(bool value)
ProjectDocument * m_document
void save(const QString &project_file_name)
bool isAutosaveEnabled() const
QQueue< QString > m_save_queue
void setDocument(ProjectDocument *document)
AutosaveController * m_autosave