MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / saveAsFile

Method saveAsFile

src/ui/codeeditor.cpp:110–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

108}
109
110bool CodeEditor::saveAsFile()
111{
112 QString fileName=MainWindow::getSaveFileName(this, tr("Save as..."),
113 QString(),tr("RapCAD Files (*.rcad);;All Files (*)"),"rcad");
114 if(fileName.isEmpty())
115 return false;
116 setFileName(fileName);
117 return saveFile();
118}
119
120bool CodeEditor::loadFile(const QString& f)
121{

Callers

nothing calls this directly

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected