summaryrefslogtreecommitdiffstats
path: root/kcontrol/smserver/smserverconfigimpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/smserver/smserverconfigimpl.cpp')
-rw-r--r--kcontrol/smserver/smserverconfigimpl.cpp18
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();
}