Remove code for tab title formatter %c and %C.

Those two formatters have never been actually implemented or revealed to
users. It is quite hard to infer what they are supposed to do based upon
exising code and commit history
This commit is contained in:
Jekyll Wu
2012-02-13 06:18:04 +08:00
parent a181ecd461
commit 97ce14afef
2 changed files with 0 additions and 22 deletions

View File

@@ -125,9 +125,6 @@ QString ProcessInfo::format(const QString& input) const
// search for and replace known marker
output.replace("%u", userName());
output.replace("%n", name(&ok));
// TODO: un-comment me when ProcessInfo::formatCommand() is implemented.
//output.replace("%c",formatCommand(name(&ok),arguments(&ok),ShortCommandFormat));
//output.replace("%C",formatCommand(name(&ok),arguments(&ok),LongCommandFormat));
QString dir = validCurrentDir();
if (output.contains("%D")) {
@@ -145,17 +142,6 @@ QString ProcessInfo::format(const QString& input) const
return output;
}
QString ProcessInfo::formatCommand(const QString& name,
const QVector<QString>& arguments,
CommandFormat format) const
{
Q_UNUSED(name);
Q_UNUSED(format);
// TODO Implement me
return QStringList(QList<QString>::fromVector(arguments)).join(" ");
}
QSet<QString> ProcessInfo::_commonDirNames;
QSet<QString> ProcessInfo::commonDirNames()