4
* Copyright (c) 2000 Matthias H�zer-Klpfel <hoelzer@kde.org>
8
#ifndef __kcmaccess_h__
9
#define __kcmaccess_h__
15
#include <knuminput.h>
26
class ExtendedIntNumInput : public KIntNumInput
32
* Constructs an input control for integer values
33
* with base 10 and initial value 0.
35
ExtendedIntNumInput(QWidget *parent=0);
40
virtual ~ExtendedIntNumInput();
43
* @param min minimum value
44
* @param max maximum value
45
* @param step step size for the QSlider
46
* @param slider whether the slider is created or not
48
void setRange(int min, int max, int step=1, bool slider=true);
51
void slotSpinValueChanged(int);
52
void slotSliderValueChanged(int);
59
class KAccessConfig : public KCModule
65
KAccessConfig( QWidget *parent, const QVariantList& );
66
virtual ~KAccessConfig();
79
void changeFlashScreenColor();
80
void configureKNotify();
84
QCheckBox *systemBell, *customBell, *visibleBell;
85
QRadioButton *invertScreen, *flashScreen;
86
QLabel *soundLabel, *colorLabel;
88
QPushButton *soundButton;
89
KColorButton *colorButton;
90
ExtendedIntNumInput *durationSlider;
92
QCheckBox *stickyKeys, *stickyKeysLock, *stickyKeysAutoOff;
93
QCheckBox *stickyKeysBeep, *toggleKeysBeep, *kNotifyModifiers;
94
QPushButton *kNotifyModifiersButton;
96
QCheckBox *slowKeys, *bounceKeys;
97
ExtendedIntNumInput *slowKeysDelay, *bounceKeysDelay;
98
QCheckBox *slowKeysPressBeep, *slowKeysAcceptBeep;
99
QCheckBox *slowKeysRejectBeep, *bounceKeysRejectBeep;
101
QCheckBox *gestures, *gestureConfirmation;
103
KIntNumInput *timeoutDelay;
104
QCheckBox *accessxBeep, *kNotifyAccessX;
105
QPushButton *kNotifyAccessXButton;