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

void CFormMain::slotSaveAs (  )  [protected, virtual, slot]

Opens a dialog to select the XML to which the sail definition should be saved.

Definition at line 1391 of file formmain.cpp.

References fileAccess(), filename, and saildef.

Referenced by setupMenuBar(), and slotSave().

{
    QString newname = CSailDefXmlWriter(saildef , "saildef").writeDialog(filename);

    if ( !newname.isNull() )
    {
        filename = newname;
        fileAccess(tr("wrote '%1'").arg(filename), filename);
    }
}


Generated by  Doxygen 1.6.0   Back to index