summaryrefslogtreecommitdiffstats
path: root/src/plugins/generic/touchscreen/qtouchscreen.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-10-21 10:36:56 +0300
committerQt by Nokia <qt-info@nokia.com>2011-10-21 12:34:50 +0200
commitd40f4105cde2c7ad3602dbfe80b8597bd1193349 (patch)
treeb19ddb65f65b386b42d42249f057b5e162a2ac3e /src/plugins/generic/touchscreen/qtouchscreen.h
parentc245a70986e384cd189580ed022ccbe5056eda8a (diff)
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 <paul.tvete@nokia.com>
Diffstat (limited to 'src/plugins/generic/touchscreen/qtouchscreen.h')
-rw-r--r--src/plugins/generic/touchscreen/qtouchscreen.h6
1 files changed, 1 insertions, 5 deletions
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 <QString>
#include <QList>
#include <QThread>
-#include <QtGui/private/qwindowsysteminterface_qpa_p.h>
+#include <QWindowSystemInterface>
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;
};