MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / fileName

Method fileName

app/src/IO/FileTransmission.cpp:208–214  ·  view source on GitHub ↗

* @brief Returns the filename of the currently selected file. */

Source from the content-addressed store, hash-verified

206 * @brief Returns the filename of the currently selected file.
207 */
208QString IO::FileTransmission::fileName() const
209{
210 if (!m_file.isOpen())
211 return tr("No file selected…");
212
213 return QFileInfo(m_file).fileName();
214}
215
216/**
217 * @brief Returns the current status message.

Callers 15

metaDataChangedMethod · 0.45
setIoDeviceMethod · 0.45
saveFileBugMethod · 0.45
foreachFunction · 0.45
foreachFunction · 0.45
extractMethod · 0.45
compressFileMethod · 0.45
compressFilesMethod · 0.45
existsMethod · 0.45
projectFileNameMethod · 0.45
openFileMethod · 0.45
sendZFILEMethod · 0.45

Calls 1

isOpenMethod · 0.45

Tested by 5

setIoDeviceMethod · 0.36
saveFileBugMethod · 0.36
foreachFunction · 0.36
foreachFunction · 0.36
extractMethod · 0.36