summaryrefslogtreecommitdiffstats
path: root/kcontrol/input/syndaemon.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-09-09 18:32:08 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-09-10 09:27:36 +0900
commit03e50a1740de004a5c5e87d67188db5edb1d21bd (patch)
tree4bc12c6a2253e1af69bfab92684910cab7c2f48f /kcontrol/input/syndaemon.h
parent5dcbaf6bb518b3c284f1ecedc24a25332e3a1566 (diff)
downloadtdebase-03e50a1740de004a5c5e87d67188db5edb1d21bd.tar.gz
tdebase-03e50a1740de004a5c5e87d67188db5edb1d21bd.zip
kcontrol touchpad: rename syndaemon to tdesyndaemon
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 06b225fe1e590a45acd75464dd40592d73e87608)
Diffstat (limited to 'kcontrol/input/syndaemon.h')
-rw-r--r--kcontrol/input/syndaemon.h78
1 files changed, 0 insertions, 78 deletions
diff --git a/kcontrol/input/syndaemon.h b/kcontrol/input/syndaemon.h
deleted file mode 100644
index 0556345eb..000000000
--- a/kcontrol/input/syndaemon.h
+++ /dev/null
@@ -1,78 +0,0 @@
-/*******************************************************************************
- syndaemon - daemon for the Synaptics touchpad driver which disables touchpad
- on keyboard input
-
- Copyright © 2004 Nadeem Hasan <nhasan@kde.org>
- Stefan Kombrink <katakombi@web.de>
- 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/>.
-
-*******************************************************************************/
-
-#ifndef __SYNDAEMON_H__
-#define __SYNDAEMON_H__
-
-// TQt
-#include <tqobject.h>
-#include <tqthread.h>
-
-// DCOP
-#include <dcopobject.h>
-
-// X11
-#include <X11/Xlib.h>
-#undef Bool /* fix problems in --enable-final mode */
-#undef None /* fix problems in --enable-final mode */
-
-// Syndaemon
-#include "syndaemon_iface.h"
-
-
-class TQTimer;
-
-class SynDaemon : public TQObject, public virtual SynDaemonIface
-{
- TQ_OBJECT
-
- public:
- SynDaemon();
- ~SynDaemon();
-
- bool touchpadEnabled();
-
- public slots:
- void poll();
- void setTouchpadOn(bool on);
- virtual void stop();
-
- protected:
- void clearBit(unsigned char* ptr, int bit);
- bool hasKeyboardActivity();
-
- private:
- TouchpadSettings *d_settings;
-
- TQTimer *m_poll;
- TQTime *m_time;
- Display *m_display;
- bool m_typing;
-
- static const unsigned int POLL_INTERVAL;
- static const unsigned int TIME_OUT;
- static const unsigned int KEYMAP_SIZE;
- static unsigned char *m_keyboard_mask;
-};
-
-#endif
-