| 788 | } |
| 789 | |
| 790 | QString MainWindowImpl::renameFileNameOnPrefixSuffix(QString oldFileName) |
| 791 | { |
| 792 | QString t_renamingString = lineRename->text(); |
| 793 | |
| 794 | QFileInfo fi(oldFileName); |
| 795 | QString newFileName = QString("%1.%2") |
| 796 | .arg(t_renamingString.replace("#", fi.completeBaseName())) |
| 797 | .arg(fi.suffix()); |
| 798 | |
| 799 | return QString("%1/%2").arg(fi.path()).arg(newFileName); |
| 800 | } |
| 801 | |
| 802 | QString MainWindowImpl::renameFileNameOnProgressiveN(QString oldFileName) |
| 803 | { |
nothing calls this directly
no outgoing calls
no test coverage detected