1 /****************************************************************************
3 KDE Control Accessibility module to control Bell, Keyboard and ?Mouse?
5 Copyright : (c) 2000 Matthias Hölzer-Klüpfel
7 Original Author: Matthias Hölzer-Klüpfel
8 Contributors: José Pablo Ezequiel "Pupeno" Fernández <pupeno@kde.org>
9 Current Maintainer: José Pablo Ezequiel "Pupeno" Fernández <pupeno@kde.org>
10 ****************************************************************************/
12 /****************************************************************************
14 * This program is free software; you can redistribute it and/or modify *
15 * it under the terms of the GNU General Public License as published by *
16 * the Free Software Foundation; either version 2 of the License, or *
17 * (at your option) any later version. *
19 ****************************************************************************/
21 #ifndef _ACCESSIBILITY_H_
22 #define _ACCESSIBILITY_H_
26 #include <kcomponentdata.h>
27 #include "ui_accessibilityconfigwidget.h"
29 class AccessibilityConfigWidget
: public QWidget
, public Ui::AccessibilityConfigWidget
32 AccessibilityConfigWidget( QWidget
*parent
) : QWidget( parent
) {
37 class AccessibilityConfig
: public KCModule
{
44 explicit AccessibilityConfig(QWidget
*parent
, const QVariantList
&foo
= QVariantList());
49 virtual ~AccessibilityConfig();
52 * This method is invoked whenever the module should read its
53 * configuration (most of the times from a config file) and update the
54 * user interface. This happens when the user clicks the "Reset" button in
55 * the control center, to undo all of his changes and restore the currently
56 * valid settings. NOTE that this is not called after the modules is loaded,
57 * so you probably want to call this method in the constructor.
62 * This function gets called when the user wants to save the settings in
63 * the user interface, updating the config files or wherever the
64 * configuration is stored. The method is called when the user clicks "Apply"
70 * This function is called to set the settings in the module to sensible
71 * default values. It gets called when hitting the "Default" button. The
72 * default values should probably be the same as the ones the application
73 * uses when started without a config file.
78 void updateFlashScreenColor();
81 AccessibilityConfigWidget
*widget
;
84 #endif // _ACCESSIBILITY_H_