* @brief Returns the filename of the currently selected file. */
| 206 | * @brief Returns the filename of the currently selected file. |
| 207 | */ |
| 208 | QString 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. |