diff options
author | Mavridis Philippe <[email protected]> | 2022-04-17 18:02:16 +0300 |
---|---|---|
committer | Mavridis Philippe <[email protected]> | 2022-04-19 18:33:22 +0300 |
commit | 9e5de2954c908a2672b9bf2bc58838c74cf33ded (patch) | |
tree | 7653c3fd415f99f1b9fb8cd14f0f57478e1073fb /kcontrol/konsole/kcmkonsole.cpp | |
parent | 28ccd3d7f23f330e40c3f5a4768e8955aada4635 (diff) | |
download | tdebase-9e5de2954c908a2672b9bf2bc58838c74cf33ded.tar.gz tdebase-9e5de2954c908a2672b9bf2bc58838c74cf33ded.zip |
Konsole: real transparency switch
Signed-off-by: Mavridis Philippe <[email protected]>
(cherry picked from commit ee161dcf9e675d5103c2f43dec492f4e7190aca8)
Diffstat (limited to 'kcontrol/konsole/kcmkonsole.cpp')
-rw-r--r-- | kcontrol/konsole/kcmkonsole.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/kcontrol/konsole/kcmkonsole.cpp b/kcontrol/konsole/kcmkonsole.cpp index ace7409a7..7dfb77dae 100644 --- a/kcontrol/konsole/kcmkonsole.cpp +++ b/kcontrol/konsole/kcmkonsole.cpp @@ -74,6 +74,7 @@ KCMKonsole::KCMKonsole(TQWidget * parent, const char *name, const TQStringList&) connect(dialog->tabsCycleWheelCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); connect(dialog->menuAcceleratorsCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); connect(dialog->metaAsAltModeCB,TQT_SIGNAL(toggled(bool)), TQT_SLOT( changed() )); + connect(dialog->realTransparency,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() )); @@ -112,6 +113,8 @@ void KCMKonsole::load(bool useDefaults) dialog->silence_secondsSB->setValue(config.readUnsignedNumEntry( "SilenceSeconds", 10 )); dialog->word_connectorLE->setText(config.readEntry("wordseps",":@-./_~")); dialog->metaAsAltModeCB->setChecked(config.readBoolEntry("metaAsAltMode",false)); + realTransparencyOrig = config.readBoolEntry("RealTransparency",false); + dialog->realTransparency->setChecked(realTransparencyOrig); dialog->SchemaEditor1->setSchema(config.readEntry("schema")); @@ -153,6 +156,8 @@ void KCMKonsole::save() config.writeEntry("SilenceSeconds" , dialog->silence_secondsSB->value()); config.writeEntry("wordseps", dialog->word_connectorLE->text()); config.writeEntry("metaAsAltMode", dialog->metaAsAltModeCB->isChecked()); + bool realTransparencyNew = dialog->realTransparency->isChecked(); + config.writeEntry("RealTransparency", realTransparencyNew); config.writeEntry("schema", dialog->SchemaEditor1->schema()); @@ -174,6 +179,12 @@ void KCMKonsole::save() "settings of existing Konsole sessions.")); } + if (realTransparencyOrig != realTransparencyNew) + { + KMessageBox::information(this, i18n("The real transparency setting will only affect " + "newly started Konsole sessions.\n")); + } + if (bidiNew && !bidiOrig) { KMessageBox::information(this, i18n("You have chosen to enable " |