From d40f4105cde2c7ad3602dbfe80b8597bd1193349 Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Fri, 21 Oct 2011 10:36:56 +0300 Subject: Remove mtdev dependency from the touchscreen QPA plugin. There is no reason to enforce the usage of the mtdev library. As long as ABS_MT_TRACKING_ID is provided protocol type A is perfectly enough. This makes the plugin more suitable for embedded systems. Change-Id: I73ce4a1056a6dc27daacb69dc4761bca393a7e43 Reviewed-by: Paul Olav Tvete --- src/plugins/generic/touchscreen/qtouchscreen.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'src/plugins/generic/touchscreen/qtouchscreen.h') diff --git a/src/plugins/generic/touchscreen/qtouchscreen.h b/src/plugins/generic/touchscreen/qtouchscreen.h index 80a6d3ac58..3c35b0012f 100644 --- a/src/plugins/generic/touchscreen/qtouchscreen.h +++ b/src/plugins/generic/touchscreen/qtouchscreen.h @@ -46,12 +46,10 @@ #include #include #include -#include +#include QT_BEGIN_HEADER -struct mtdev; - QT_BEGIN_NAMESPACE class QSocketNotifier; @@ -75,14 +73,12 @@ public: private slots: void readData(); - void onTimeout(); private: void try_udev(QString *path); QSocketNotifier *m_notify; int m_fd; - mtdev *m_mtdev; QTouchScreenData *d; }; -- cgit v1.2.3