kde-workspace/kcontrol/access/kcmaccess.h

77 lines
1.6 KiB
C
Raw Normal View History

2014-11-13 19:30:51 +02:00
/**
* kcmaccess.h
*
* Copyright (c) 2000 Matthias H<EFBFBD>zer-Klpfel <hoelzer@kde.org>
*
*/
#ifndef __kcmaccess_h__
#define __kcmaccess_h__
#include <kcmodule.h>
#include <knuminput.h>
#include <QCheckBox>
#include <QLabel>
#include <QLineEdit>
#include <QPushButton>
#include <QRadioButton>
2014-11-13 19:30:51 +02:00
class KColorButton;
class KAccessConfig : public KCModule
{
Q_OBJECT
public:
KAccessConfig( QWidget *parent, const QVariantList& );
virtual ~KAccessConfig();
void load();
void save();
void defaults();
protected Q_SLOTS:
void configChanged();
void checkAccess();
void invertClicked();
void flashClicked();
void selectSound();
void changeFlashScreenColor();
void configureKNotify();
private:
QCheckBox *systemBell, *customBell, *visibleBell;
QRadioButton *invertScreen, *flashScreen;
QLabel *soundLabel;
2014-11-13 19:30:51 +02:00
QLineEdit *soundEdit;
QPushButton *soundButton;
KColorButton *colorButton;
QLabel *durationLabel;
2014-11-13 19:30:51 +02:00
KDoubleNumInput *durationSlider;
QCheckBox *stickyKeys, *stickyKeysLock, *stickyKeysAutoOff;
QCheckBox *stickyKeysBeep, *toggleKeysBeep, *kNotifyModifiers;
QPushButton *kNotifyModifiersButton;
QCheckBox *slowKeys, *bounceKeys;
QLabel *slowKeysLabel, *bounceKeysLabel;
2014-11-13 19:30:51 +02:00
KDoubleNumInput *slowKeysDelay, *bounceKeysDelay;
QCheckBox *slowKeysPressBeep, *slowKeysAcceptBeep;
QCheckBox *slowKeysRejectBeep, *bounceKeysRejectBeep;
QCheckBox *gestures, *gestureConfirmation;
QCheckBox *timeout;
QLabel *timeoutLabel;
2014-11-13 19:30:51 +02:00
KIntNumInput *timeoutDelay;
QCheckBox *accessxBeep, *kNotifyAccessX;
QPushButton *kNotifyAccessXButton;
};
#endif