/** handle details on application quit */ void spqrMainWindow::closeEvent(QCloseEvent *e) { if (!checkSave()) e->ignore(); }
void AutoMapSaver::onIntervalReached(wxTimerEvent& ev) { checkSave(); }
void DesktopMainWindow::newProject() { if (checkSave()) _app->actionManager()->doAction(this, new Godzi::NewProjectAction(loadDefaultMap())); }