MCPcopy Create free account
hub / github.com/KDE/labplot / setProjectFileName

Method setProjectFileName

src/frontend/spreadsheet/ExportSpreadsheetDialog.cpp:176–181  ·  view source on GitHub ↗

! * sets the current project file name. If not empty, the path of the project file * is determined that is then used as the default location for the exported file. */

Source from the content-addressed store, hash-verified

174 * is determined that is then used as the default location for the exported file.
175 */
176void ExportSpreadsheetDialog::setProjectFileName(const QString& name) {
177 if (name.isEmpty())
178 return;
179
180 m_projectPath = QFileInfo(name).canonicalPath();
181}
182
183void ExportSpreadsheetDialog::setFileName(const QString& name) {
184 if (m_projectPath.isEmpty()) {

Callers 1

exportViewMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by

no test coverage detected