MCPcopy Create free account
hub / github.com/dail8859/NotepadNext / getSaveFileName

Method getSaveFileName

src/FileDialogHelpers.cpp:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84}
85
86QString FileDialogHelpers::getSaveFileName(QWidget *parent, const QString &caption, const QString &dir, const QString &filter, QString *selectedFilter, QFileDialog::Options options)
87{
88 const QStringList schemes = QStringList(QStringLiteral("file"));
89 const QUrl selectedUrl = getSaveFileUrl(parent, caption, dir, filter, selectedFilter, options, schemes);
90 if (selectedUrl.isLocalFile() || selectedUrl.isEmpty())
91 return selectedUrl.toLocalFile();
92 else
93 return selectedUrl.toString();
94}

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
toStringMethod · 0.80

Tested by

no test coverage detected