Add and use alternative commant line program name

Review Request #103223 - Created Nov. 23, 2011 and submitted

Information
Michal Sciubidlo
ark
208864
Reviewers
kdeutils
rkcosta
Add and use alternative commant line program name.
ListProgramAlternative, ExtractProgramAlternative, DeleteProgramAlternative, AddProgramAlternative can be set by CliInterface plugins if CliInterface can't find normal names it can use alternative ones. This patch is useful for 7z and 7za programs. Ark used 7z program but it's not allways installed. 7za can operate on 7z archives and is more common.
Delete /usr/bin/7z file keep /usr/bin/7za. Ark still can work with 7z archives.

Issues

  • 6
  • 0
  • 0
  • 6
Description From Last Updated
This is being repeated many times over the file. Please overload runProcess() as suggested (or come up with another solution ... Raphael Kubo da Costa Raphael Kubo da Costa
This will always get the first item, even when there are many programs. Raphael Kubo da Costa Raphael Kubo da Costa
This change is unrelated. Raphael Kubo da Costa Raphael Kubo da Costa
Coding style: space after `for' and around `=' and `<', and `{' should be on the same line. Raphael Kubo da Costa Raphael Kubo da Costa
const QString names = programNames.join(QLatin1String(", ")) ? Raphael Kubo da Costa Raphael Kubo da Costa
You've removed the context from the translation, please use i18ncp() instead. Raphael Kubo da Costa Raphael Kubo da Costa
Raphael Kubo da Costa
Michal Sciubidlo
Raphael Kubo da Costa
Michal Sciubidlo
Raphael Kubo da Costa
Raphael Kubo da Costa
Michal Sciubidlo
Review request changed

Status: Closed (submitted)

Loading...