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

Method setProjectFileName

src/frontend/worksheet/ExportWorksheetDialog.cpp:154–159  ·  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

152 * is determined that is then used as the default location for the exported file.
153 */
154void ExportWorksheetDialog::setProjectFileName(const QString& name) {
155 if (name.isEmpty())
156 return;
157
158 m_projectPath = QFileInfo(name).canonicalPath();
159}
160
161void ExportWorksheetDialog::setFileName(const QString& name) {
162 if (m_projectPath.isEmpty()) {

Callers 15

ifFunction · 0.45
refreshPreviewMethod · 0.45
testOrigin01Method · 0.45
testOrigin02Method · 0.45
testOrigin03Method · 0.45
testOrigin04Method · 0.45
testOrigin_2graphsMethod · 0.45
testOriginHistogramMethod · 0.45
testOriginBarPlotMethod · 0.45

Calls 1

isEmptyMethod · 0.45

Tested by 15

testOrigin01Method · 0.36
testOrigin02Method · 0.36
testOrigin03Method · 0.36
testOrigin04Method · 0.36
testOrigin_2graphsMethod · 0.36
testOriginHistogramMethod · 0.36
testOriginBarPlotMethod · 0.36