void KFocusConfig::setDelayFocusEnabled() { int policyIndex = getFocus(); // the delayed focus related widgets are: delayFocus m_ui->delayFocusOnLabel->setEnabled(policyIndex != CLICK_TO_FOCUS); delayFocusOnTog(policyIndex != CLICK_TO_FOCUS); }
void KFocusConfig::setDelayFocusEnabled() { int policyIndex = focusCombo->currentIndex(); // the delayed focus related widgets are: delayFocus delayFocusOnLabel->setEnabled(policyIndex != CLICK_TO_FOCUS); delayFocusOnTog(policyIndex != CLICK_TO_FOCUS); }