15 #ifndef BORNAGAIN_GUI_COREGUI_MAINWINDOW_SAVESERVICE_H 
   16 #define BORNAGAIN_GUI_COREGUI_MAINWINDOW_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, jobModel,...
 
Provides save/autosave of ProjectDocument in a thread.
 
void setAutosaveTime(int timerInterval)
Sets autosave time (in msec)
 
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)
 
SaveService(QObject *parent=0)
 
AutosaveController * m_autosave