summaryrefslogtreecommitdiffstats
path: root/kcontrol/konsole/kcmkonsole.cpp
diff options
context:
space:
mode:
authorrbell <riley.bell@vfemail.net>2025-06-02 21:10:02 -0700
committerrbell <riley.bell@vfemail.net>2025-06-13 00:15:37 -0700
commite7e77dcbc35e11833305168cad5b4d1d45ed7728 (patch)
tree37621a421c3818183176134db41b27152a8e48de /kcontrol/konsole/kcmkonsole.cpp
parent0a439ac80bdf6ffb9cac104ad3098a321ee0403c (diff)
downloadtdebase-issue/600.tar.gz
tdebase-issue/600.zip
Konsole: Add close tab icon buttonissue/600
Signed-off-by: rbell <riley.bell@vfemail.net>
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 28cec6825..9f841f608 100644
--- a/kcontrol/konsole/kcmkonsole.cpp
+++ b/kcontrol/konsole/kcmkonsole.cpp
@@ -72,6 +72,7 @@ KCMKonsole::KCMKonsole(TQWidget * parent, const char *name, const TQStringList&)
connect(dialog->line_spacingSB,TQ_SIGNAL(valueChanged(int)), TQ_SLOT( changed() ));
connect(dialog->matchTabWinTitleCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() ));
connect(dialog->tabsCycleWheelCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() ));
+ connect(dialog->showCloseTabButtonWithHover,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() ));
connect(dialog->menuAcceleratorsCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() ));
connect(dialog->metaAsAltModeCB,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() ));
connect(dialog->realTransparency,TQ_SIGNAL(toggled(bool)), TQ_SLOT( changed() ));
@@ -100,6 +101,7 @@ void KCMKonsole::load(bool useDefaults)
dialog->bidiCB->setChecked(bidiOrig);
dialog->matchTabWinTitleCB->setChecked(config.readBoolEntry("MatchTabWinTitle",false));
dialog->tabsCycleWheelCB->setChecked(config.readBoolEntry("TabsCycleWheel",true));
+ dialog->showCloseTabButtonWithHover->setChecked(config.readBoolEntry("ShowCloseTabButtonWithHover",false));
dialog->menuAcceleratorsCB->setChecked(config.readBoolEntry("MenuAccelerators",false));
dialog->warnCB->setChecked(config.readBoolEntry("WarnQuit",true));
dialog->ctrldragCB->setChecked(config.readBoolEntry("CtrlDrag",true));
@@ -143,6 +145,7 @@ void KCMKonsole::save()
config.writeEntry("EnableBidi", bidiNew);
config.writeEntry("MatchTabWinTitle", dialog->matchTabWinTitleCB->isChecked());
config.writeEntry("TabsCycleWheel", dialog->tabsCycleWheelCB->isChecked());
+ config.writeEntry("ShowCloseTabButtonWithHover", dialog->showCloseTabButtonWithHover->isChecked());
config.writeEntry("MenuAccelerators", dialog->menuAcceleratorsCB->isChecked());
config.writeEntry("WarnQuit", dialog->warnCB->isChecked());
config.writeEntry("CtrlDrag", dialog->ctrldragCB->isChecked());