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

Method projectFileName

app/src/AppState.cpp:64–70  ·  view source on GitHub ↗

* @brief Returns the base filename of the loaded project, or an empty string. */

Source from the content-addressed store, hash-verified

62 * @brief Returns the base filename of the loaded project, or an empty string.
63 */
64QString AppState::projectFileName() const
65{
66 if (m_projectFilePath.isEmpty())
67 return QString();
68
69 return QFileInfo(m_projectFilePath).fileName();
70}
71
72/**
73 * @brief Returns the absolute path of the loaded project file.

Callers

nothing calls this directly

Calls 2

isEmptyMethod · 0.80
fileNameMethod · 0.45

Tested by

no test coverage detected