| 800 | } |
| 801 | |
| 802 | QString MainWindowImpl::renameFileNameOnProgressiveN(QString oldFileName) |
| 803 | { |
| 804 | QString t_renamingString = lineRename->text(); |
| 805 | |
| 806 | QFileInfo fi(oldFileName); // For the output directory |
| 807 | QString newFileName = QString("%1.%2") |
| 808 | .arg(t_renamingString.replace("#", QString::number(m_progressiveNren))) |
| 809 | .arg(fi.suffix()); |
| 810 | |
| 811 | m_progressiveNren++; // the key of progressive number renaming (set to start when the conversion in starded) |
| 812 | |
| 813 | return QString("%1/%2").arg(fi.path()).arg(newFileName); |
| 814 | } |
| 815 | |
| 816 | void MainWindowImpl::loadFormats() |
| 817 | { |
nothing calls this directly
no outgoing calls
no test coverage detected