Changeset View
Changeset View
Standalone View
Standalone View
kcms/keyboard/kcmmisc.cpp
Show First 20 Lines • Show All 177 Lines • ▼ Show 20 Line(s) | |||||
178 | 178 | | |||
179 | QString KCMiscKeyboardWidget::quickHelp() const | 179 | QString KCMiscKeyboardWidget::quickHelp() const | ||
180 | { | 180 | { | ||
181 | return QString(); | 181 | return QString(); | ||
182 | 182 | | |||
183 | /* "<h1>Keyboard</h1> This module allows you to choose options" | 183 | /* "<h1>Keyboard</h1> This module allows you to choose options" | ||
184 | " for the way in which your keyboard works. The actual effect of" | 184 | " for the way in which your keyboard works. The actual effect of" | ||
185 | " setting these options depends upon the features provided by your" | 185 | " setting these options depends upon the features provided by your" | ||
186 | " keyboard hardware and the X server on which KDE is running.<p>" | 186 | " keyboard hardware and the X server on which Plasma is running.<p>" | ||
187 | " For example, you may find that changing the key click volume" | 187 | " For example, you may find that changing the key click volume" | ||
188 | " has no effect because this feature is not available on your system." */ | 188 | " has no effect because this feature is not available on your system." */ | ||
189 | } | 189 | } | ||
190 | 190 | | |||
191 | void KCMiscKeyboardWidget::delaySliderChanged (int value) { | 191 | void KCMiscKeyboardWidget::delaySliderChanged (int value) { | ||
192 | double alpha = sliderMax / (log(5000.0L) - log(100.0L)); | 192 | double alpha = sliderMax / (log(5000.0L) - log(100.0L)); | ||
193 | double linearValue = exp (value/alpha + log(100.0L)); | 193 | double linearValue = exp (value/alpha + log(100.0L)); | ||
194 | 194 | | |||
Show All 37 Lines |