Add basic code to associate shortcuts with profiles and load/save those shortcut/profile pairs. Move Profile class into its own source file. Move old TODO list into the 'old' directory.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=664308
This commit is contained in:
Robert Knight
2007-05-13 16:38:59 +00:00
parent ecdb2781d0
commit c5ab0f3cec
14 changed files with 971 additions and 802 deletions

View File

@@ -40,6 +40,7 @@
#include "ui_EditProfileDialog.h"
#include "KeyBindingEditor.h"
#include "KeyboardTranslator.h"
#include "Profile.h"
#include "SessionManager.h"
#include "ShellCommand.h"
#include "TabTitleFormatAction.h"
@@ -49,7 +50,7 @@ using namespace Konsole;
EditProfileDialog::EditProfileDialog(QWidget* parent)
: KDialog(parent)
{
setCaption("Edit Profile");
setCaption(i18n("Edit Profile"));
setButtons( KDialog::Ok | KDialog::Cancel | KDialog::Apply | KDialog::Default );
connect( this , SIGNAL(applyClicked()) , this , SLOT(save()) );
@@ -102,7 +103,7 @@ void EditProfileDialog::setProfile(const QString& key)
Q_ASSERT( info );
// update caption
setCaption( QString("Edit Profile \"%1\"").arg(info->name()) );
setCaption( i18n("Edit Profile \"%1\"",info->name()) );
// setup each page of the dialog
setupGeneralPage(info);