* @brief Returns the base filename of the loaded project, or an empty string. */
| 62 | * @brief Returns the base filename of the loaded project, or an empty string. |
| 63 | */ |
| 64 | QString 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. |