diff options
Diffstat (limited to 'kcontrol/input/touchpad.h')
-rw-r--r-- | kcontrol/input/touchpad.h | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/kcontrol/input/touchpad.h b/kcontrol/input/touchpad.h new file mode 100644 index 000000000..2c9a366d3 --- /dev/null +++ b/kcontrol/input/touchpad.h @@ -0,0 +1,47 @@ +/******************************************************************************* + tdecm_touchpad + A touchpad module for the TDE Control Centre + + Copyright © 2024 Mavridis Philippe <mavridisf@gmail.com> + + This program is free software: you can redistribute it and/or modify it under + the terms of the GNU General Public License as published by the Free Software + Foundation, either version 3 of the License, or (at your option) any later + version. + + This program is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along with + this program. If not, see <https://www.gnu.org/licenses/>. + +*******************************************************************************/ + +// TDE +#include <tdecmodule.h> + +class TouchpadSettings +{ + public: + void load(TDEConfig *); + void save(TDEConfig *); + void apply(bool force = false); + + bool tapToClick; + bool middleButtonEmulation; +} + +class TouchpadConfig : public TDECModule +{ + TQ_OBJECT + + public: + TouchpadConfig(TQWidget *parent, const char *name); + ~TouchpadConfig(); + + void load(); + void load(bool useDefaults); + void save(); + void defaults(); +}
\ No newline at end of file |