* Update the regular expression for the Url filter. Anything in the form

letters://any-non-whitespace-characters is treated as a Url

* Correct the test which compares the old and new values and ranges when
  updating the terminal display's scroll bar.  
  This fixes the scroll bar being repainted unnecessarily often.  Found
  with the nifty QT_FLUSH_PAINT debugging tool.

* Select the profile name (set to "New Profile" by default) and focus the 
  profile name edit area when showing the Edit Profile dialog for a new
  profile to allow the user to easily set the name.

* Always use color scheme list animation, not just when the Edit Profile 
  dialog is first displayed as per richmoore's suggestion. 

* Update Edit Profile dialog caption when profile name is changed.

* Update favorite status icon in Manage Profiles dialog when the favorite
  status is changed by another object.

* Add disabled menu item which is shown in the 'Change Profile' list
  when there are no other profiles there

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=683787
This commit is contained in:
Robert Knight
2007-07-05 09:51:06 +00:00
parent 0527ef66b7
commit 37088799cf
10 changed files with 122 additions and 28 deletions

View File

@@ -65,6 +65,8 @@ QString ProcessInfo::format(const QString& input) const
// search for and replace known markers
output.replace("%u","NOT IMPLEMENTED YET");
output.replace("%n",name(&ok));
output.replace("%c",formatCommand(name(&ok),arguments(&ok),ShortCommandFormat));
output.replace("%C",formatCommand(name(&ok),arguments(&ok),LongCommandFormat));
output.replace("%D",currentDir(&ok));
output.replace("%d",formatShortDir(currentDir(&ok)));
@@ -80,6 +82,13 @@ const char* ProcessInfo::DefaultCommonDirNames[] =
"share" , "examples" , "icons" ,
"pics" , "plugins" , 0 };
QString ProcessInfo::formatCommand(const QString& name,
const QVector<QString>& arguments,
CommandFormat format) const
{
// TODO Implement me
return QStringList(QList<QString>::fromVector(arguments)).join(" ");
}
QString ProcessInfo::formatShortDir(const QString& input) const
{
QString result;