summaryrefslogtreecommitdiffstats
path: root/kcontrol/input/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kcontrol/input/main.cpp')
-rw-r--r--kcontrol/input/main.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/kcontrol/input/main.cpp b/kcontrol/input/main.cpp
index d72dd0aa6..71d9ec66f 100644
--- a/kcontrol/input/main.cpp
+++ b/kcontrol/input/main.cpp
@@ -38,6 +38,8 @@
#endif
#include "mouse.h"
+#include "touchpad_settings.h"
+#include "touchpad.h"
extern "C"
{
@@ -91,6 +93,23 @@ extern "C"
delete config;
}
+
+ TDE_EXPORT TDECModule *create_touchpad(TQWidget *parent, const char *)
+ {
+ return new TouchpadConfig(parent, "kcminput");
+ }
+
+ TDE_EXPORT void init_touchpad()
+ {
+ TouchpadSettings settings;
+ settings.apply();
+ }
+
+ TDE_EXPORT bool test_touchpad()
+ {
+ TouchpadSettings settings;
+ return settings.foundTouchpad();
+ }
}