MCPcopy Create free account
hub / github.com/Linloir/GraphBuilder / SaveToFile

Method SaveToFile

mycanvas.cpp:434–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

432}
433
434void MyCanvas::SaveToFile(const QString &path){
435 QFile output(path);
436 output.open(QIODevice::WriteOnly | QIODevice::Text);
437 QTextStream ts(&output);
438 ts << "VFdGeWFXUnZaekl3TURJd05ESTE=\n";
439 ts << canvasName << "\n";
440 ts << canvasDescription << "\n";
441 ts << structure_type << " " << type << "\n";
442 view->SaveToFile(ts);
443 output.close();
444}
445
446void MyCanvas::addVex(MyGraphicsVexItem *vex){
447 g->AddVex(vex);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected