MCPcopy Create free account
hub / github.com/KDE/labplot / autoSaveProject

Method autoSaveProject

src/frontend/MainWin.cpp:1887–1894  ·  view source on GitHub ↗

! * automatically saves the project in the specified time interval. */

Source from the content-addressed store, hash-verified

1885 * automatically saves the project in the specified time interval.
1886 */
1887void MainWin::autoSaveProject() {
1888 // don't auto save when there are no changes or the file name
1889 // was not provided yet (the project was never explicitly saved yet).
1890 if (!m_project->hasChanged() || m_project->fileName().isEmpty())
1891 return;
1892
1893 this->saveProject();
1894}
1895
1896void MainWin::updateTitleBar() {
1897 QString title;

Callers

nothing calls this directly

Calls 4

saveProjectMethod · 0.95
hasChangedMethod · 0.80
isEmptyMethod · 0.45
fileNameMethod · 0.45

Tested by

no test coverage detected