enable disable spinbox when we change checkbox state

svn path=/trunk/KDE/kdebase/workspace/; revision=1024342
This commit is contained in:
Laurent Montel 2009-09-16 12:08:40 +00:00
parent 2d0e2c3921
commit 24270ef9f3

View file

@ -175,6 +175,8 @@ void KWinDesktopConfig::init()
connect( m_ui->activityCheckBox, SIGNAL(stateChanged(int)), SLOT(changed()));
connect( m_ui->desktopNames, SIGNAL(changed()), SLOT(changed()));
connect( m_ui->popupInfoCheckBox, SIGNAL(toggled(bool)), SLOT(changed()));
connect( m_ui->popupInfoCheckBox, SIGNAL(toggled(bool)), m_ui->popupHideSpinBox, SLOT(setEnabled(bool)));
connect( m_ui->popupInfoCheckBox, SIGNAL(toggled(bool)), m_ui->hideLabel, SLOT(setEnabled(bool)));
connect( m_ui->popupHideSpinBox, SIGNAL(valueChanged(int)), SLOT(changed()));
connect( m_editor, SIGNAL(keyChange()), SLOT(changed()));
connect( m_ui->allShortcutsCheckBox, SIGNAL(stateChanged(int)), SLOT(slotShowAllShortcuts()));