diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-21 18:33:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-21 18:34:47 +0900 |
commit | a7dc4c51d5edb098aab42d57d177f9968545926e (patch) | |
tree | 68d332296118e477d84bfecc068aface772ddf45 /kcontrol/smserver/smserverconfigimpl.cpp | |
parent | f548d391bb5b60cc3edf9248b9f793401d771196 (diff) | |
download | tdebase-a7dc4c51d5edb098aab42d57d177f9968545926e.tar.gz tdebase-a7dc4c51d5edb098aab42d57d177f9968545926e.zip |
Fix update of fade away checkboxes in TCC session manager module
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kcontrol/smserver/smserverconfigimpl.cpp')
-rw-r--r-- | kcontrol/smserver/smserverconfigimpl.cpp | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/kcontrol/smserver/smserverconfigimpl.cpp b/kcontrol/smserver/smserverconfigimpl.cpp index d9507a9d8..af04d774a 100644 --- a/kcontrol/smserver/smserverconfigimpl.cpp +++ b/kcontrol/smserver/smserverconfigimpl.cpp @@ -18,14 +18,20 @@ #include "smserverconfigimpl.h" #include "smserverconfigimpl.moc" -SMServerConfigImpl::SMServerConfigImpl(TQWidget *parent, const char *name ) : SMServerConfigDlg(parent,name) { +SMServerConfigImpl::SMServerConfigImpl(TQWidget *parent, const char *name ) : SMServerConfigDlg(parent,name) {} +SMServerConfigImpl::~SMServerConfigImpl() {} + +void SMServerConfigImpl::configChanged() +{ + emit changed(); } -SMServerConfigImpl::~SMServerConfigImpl(){ -} -/** No descriptions */ -void SMServerConfigImpl::configChanged(){ - emit changed(); +void SMServerConfigImpl::fadeAwayConfigChanged() +{ + // Update showFadeAway and showFancyFadeAway status correctly + showFadeAway->setEnabled(confirmLogoutCheck->isChecked()); + showFancyFadeAway->setEnabled(confirmLogoutCheck->isChecked() && showFadeAway->isChecked()); + configChanged(); } |