Changeset View
Changeset View
Standalone View
Standalone View
kcms/ksmserver/smserverconfigimpl.cpp
Show All 11 Lines | |||||
12 | * it under the terms of the GNU General Public License as published by * | 12 | * it under the terms of the GNU General Public License as published by * | ||
13 | * the Free Software Foundation; either version 2 of the License, or * | 13 | * the Free Software Foundation; either version 2 of the License, or * | ||
14 | * (at your option) any later version. * | 14 | * (at your option) any later version. * | ||
15 | * * | 15 | * * | ||
16 | ***************************************************************************/ | 16 | ***************************************************************************/ | ||
17 | 17 | | |||
18 | #include "smserverconfigimpl.h" | 18 | #include "smserverconfigimpl.h" | ||
19 | 19 | | |||
20 | #include <KMessageWidget> | ||||
sitter: Not needed? .h includes ui_.h and that would include kmessagewidget.h | |||||
21 | | ||||
20 | SMServerConfigImpl::SMServerConfigImpl(QWidget *parent ) : SMServerConfigDlg(parent) { | 22 | SMServerConfigImpl::SMServerConfigImpl(QWidget *parent ) : SMServerConfigDlg(parent) { | ||
21 | connect(confirmLogoutCheck,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | 23 | connect(confirmLogoutCheck,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | ||
22 | connect(previousSessionRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | 24 | connect(previousSessionRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | ||
23 | connect(savedSessionRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | 25 | connect(savedSessionRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | ||
24 | connect(emptySessionRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | 26 | connect(emptySessionRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | ||
25 | connect(logoutRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | 27 | connect(logoutRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | ||
26 | connect(haltRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | 28 | connect(haltRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | ||
27 | connect(rebootRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | 29 | connect(rebootRadio,&QAbstractButton::toggled, this, &SMServerConfigImpl::configChanged); | ||
28 | connect(excludeLineedit,&QLineEdit::textChanged,this, &SMServerConfigImpl::configChanged); | 30 | connect(excludeLineedit,&QLineEdit::textChanged,this, &SMServerConfigImpl::configChanged); | ||
29 | connect(offerShutdownCheck,&QAbstractButton::toggled,this, &SMServerConfigImpl::configChanged); | 31 | connect(offerShutdownCheck,&QAbstractButton::toggled,this, &SMServerConfigImpl::configChanged); | ||
32 | | ||||
33 | firmwareSetupBox->hide(); | ||||
34 | | ||||
35 | firmwareSetupMessageWidget->hide(); | ||||
30 | } | 36 | } | ||
31 | SMServerConfigImpl::~SMServerConfigImpl(){ | 37 | SMServerConfigImpl::~SMServerConfigImpl(){ | ||
32 | } | 38 | } | ||
33 | /** No descriptions */ | 39 | /** No descriptions */ | ||
34 | void SMServerConfigImpl::configChanged(){ | 40 | void SMServerConfigImpl::configChanged(){ | ||
35 | 41 | | |||
36 | emit changed(); | 42 | emit changed(); | ||
37 | 43 | | |||
38 | } | 44 | } |
Not needed? .h includes ui_.h and that would include kmessagewidget.h