Save and load environment variables as part of the profile. Defaults to just 'TERM=xterm'. Allow editing of the environment in the profile editor (not just the TERM variable). Separate out the tab-related options into their own tab in the profile editor and rename 'Keyboard Setup' to 'Input' as that seems a more obvious name.

svn path=/trunk/KDE/kdebase/apps/konsole/; revision=679103
This commit is contained in:
Robert Knight
2007-06-23 02:09:21 +00:00
parent d591661c8d
commit 2a1109196f
9 changed files with 201 additions and 79 deletions

View File

@@ -1,5 +1,5 @@
/*
This file is part of Konsole, an X _terminal.
This file is part of Konsole
Copyright (C) 2006-2007 by Robert Knight <robertknight@gmail.com>
Copyright (C) 1997,1998 by Lars Doelle <lars.doelle@on-line.de>
@@ -276,7 +276,7 @@ void Session::run()
int result = _shellProcess->start(QFile::encodeName(_program),
arguments,
_term,
_environment,
_winId,
_addToUtmp,
dbusService,
@@ -565,14 +565,14 @@ QString Session::keyBindings() const
return _emulation->keyBindings();
}
QString Session::terminalType() const
QStringList Session::environment() const
{
return _term;
return _environment;
}
void Session::setTerminalType(const QString& _terminalType)
void Session::setEnvironment(const QStringList& environment)
{
_term = _terminalType;
_environment = environment;
}
int Session::sessionId() const