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

bool QETDiagramEditor::saveAsDialog (  )  [slot]

Cette methode demande un nom de fichier a l'utilisateur pour enregistrer le schema

true si l'enregistrement a reussi, false sinon

Definition at line 613 of file qetdiagrameditor.cpp.

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

Referenced by actions().

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

Generated by  Doxygen 1.6.0   Back to index