parent
e8d015be37
commit
dfa85b5cd2
@ -0,0 +1,59 @@
|
||||
/*******************************************************************************
|
||||
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/>.
|
||||
|
||||
*******************************************************************************/
|
||||
|
||||
// TouchpadConfig
|
||||
#include "touchpad.h"
|
||||
#include "touchpad.moc"
|
||||
|
||||
|
||||
/******************************* TouchpadConfig *******************************/
|
||||
TouchpadConfig::TouchpadConfig(TQWidget *parent, const char *name)
|
||||
{
|
||||
}
|
||||
|
||||
void TouchpadConfig::load()
|
||||
{
|
||||
}
|
||||
|
||||
void TouchpadConfig::load(bool useDefaults)
|
||||
{
|
||||
}
|
||||
|
||||
void TouchpadConfig::save()
|
||||
{
|
||||
}
|
||||
|
||||
void TouchpadConfig::defaults()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
/****************************** TouchpadSettings ******************************/
|
||||
void TouchpadSettings::load(TDEConfig *cfg)
|
||||
{
|
||||
}
|
||||
|
||||
void TouchpadSettings::save(TDEConfig *cfg)
|
||||
{
|
||||
}
|
||||
|
||||
void TouchpadSettings::apply()
|
||||
{
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
[Desktop Entry]
|
||||
Exec=tdecmshell touchpad
|
||||
Icon=input-touchpad
|
||||
Type=Application
|
||||
X-DocPath=kcontrol/touchpad/index.html
|
||||
|
||||
X-TDE-Library=input
|
||||
X-TDE-FactoryName=touchpad
|
||||
X-TDE-Init=touchpad
|
||||
X-TDE-ParentApp=kcontrol
|
||||
|
||||
Name=Touchpad
|
||||
Comment=Touchpad settings
|
||||
Keywords=Touchpad;Tap to click;Mouse;Mouse buttons;Input Devices;Button Mapping;Tap;Click;mapping;right handed;left handed;
|
||||
Categories=Qt;TDE;X-TDE-settings-hardware;
|
@ -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();
|
||||
}
|
Loading…
Reference in new issue