summaryrefslogtreecommitdiffstats
path: root/kcontrol/konsole/kcmkonsole.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-04-21 18:14:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-04-21 18:14:10 +0900
commit8b69d90d3fbacd82efff43e5ecbe64fdb2c23882 (patch)
treedd2e33ac2b9d26deffe2b0f7e909e336e8961457 /kcontrol/konsole/kcmkonsole.cpp
parentdfa62cdbea831ee3fcc29ca884c779a5459d5e08 (diff)
downloadtdebase-8b69d90d3fbacd82efff43e5ecbe64fdb2c23882.tar.gz
tdebase-8b69d90d3fbacd82efff43e5ecbe64fdb2c23882.zip
Added Meta key as Alt key option in Kcontrol/Konsole. This relates to bug 1026.
Also improved options arrangement in the same configuration page.
Diffstat (limited to 'kcontrol/konsole/kcmkonsole.cpp')
-rw-r--r--kcontrol/konsole/kcmkonsole.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/kcontrol/konsole/kcmkonsole.cpp b/kcontrol/konsole/kcmkonsole.cpp
index 8c7892083..97d3d0db0 100644
--- a/kcontrol/konsole/kcmkonsole.cpp
+++ b/kcontrol/konsole/kcmkonsole.cpp
@@ -73,6 +73,7 @@ KCMKonsole::KCMKonsole(TQWidget * parent, const char *name, const TQStringList&)
connect(dialog->matchTabWinTitleCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() ));
connect(dialog->tabsCycleWheel,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() ));
connect(dialog->menuAccelerators,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() ));
+ connect(dialog->metaAsAltModeCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() ));
connect(dialog->silence_secondsSB,TQT_SIGNAL(valueChanged(int)), TQT_SLOT( changed() ));
connect(dialog->word_connectorLE,TQT_SIGNAL(textChanged(const TQString &)), TQT_SLOT( changed() ));
connect(dialog->SchemaEditor1, TQT_SIGNAL(changed()), TQT_SLOT( changed() ));
@@ -110,6 +111,7 @@ void KCMKonsole::load(bool useDefaults)
dialog->line_spacingSB->setValue(config.readUnsignedNumEntry( "LineSpacing", 0 ));
dialog->silence_secondsSB->setValue(config.readUnsignedNumEntry( "SilenceSeconds", 10 ));
dialog->word_connectorLE->setText(config.readEntry("wordseps",":@-./_~"));
+ dialog->metaAsAltModeCB->setChecked(config.readBoolEntry("metaAsAltMode",false));
dialog->SchemaEditor1->setSchema(config.readEntry("schema"));
@@ -150,6 +152,7 @@ void KCMKonsole::save()
config.writeEntry("LineSpacing" , dialog->line_spacingSB->value());
config.writeEntry("SilenceSeconds" , dialog->silence_secondsSB->value());
config.writeEntry("wordseps", dialog->word_connectorLE->text());
+ config.writeEntry("metaAsAltMode", dialog->metaAsAltModeCB->isChecked());
config.writeEntry("schema", dialog->SchemaEditor1->schema());