Logo Search packages:      
Sourcecode: qelectrotech version File versions  Download package

bool QETDiagramEditor::saveAll (  )  [slot]

Methode enregistrant tous les schemas.

Returns:
true si l'enregistrement a reussi, false sinon

Definition at line 628 of file qetdiagrameditor.cpp.

References currentProject(), QETApp::projectsRecentFiles(), and save_file.

Referenced by actions().

                               {
      if (ProjectView *project_view = currentProject()) {
            bool save_file = project_view -> saveAll();
            if (save_file) {
                  QETApp::projectsRecentFiles() -> fileWasOpened(project_view -> project() -> filePath());
            }
            return(save_file);
      }
      return(false);
}


Generated by  Doxygen 1.6.0   Back to index