summaryrefslogtreecommitdiffstats
path: root/src/plugins/generic/touchscreen/qtouchscreen.h
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.p.agocs@nokia.com>2011-07-18 13:44:47 +0300
committerQt by Nokia <qt-info@nokia.com>2011-07-19 15:00:46 +0200
commitba1b6f16ae042e5fdeb2e2c5968e1e5b1834ab88 (patch)
tree1a4c08b41efbe4f7f5a6f9ecf89a6e03847884e6 /src/plugins/generic/touchscreen/qtouchscreen.h
parent9581c90395086932d2e853864bf962b0896597d5 (diff)
Implement todos in touchscreen generic plug-in.
The patch implements periodic clearing of the point states when no activity occurs (i.e. no ev_syn is coming at all, meaning that most probably all the fingers are already up) and also moves the entire functionality into a separate thread even when used as a plug-in. Change-Id: Ib1daa738085b61af9b07eb8a284416e5a3fcabe8 Reviewed-on: http://codereview.qt.nokia.com/1744 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Jørgen Lind <jorgen.lind@nokia.com>
Diffstat (limited to 'src/plugins/generic/touchscreen/qtouchscreen.h')
-rw-r--r--src/plugins/generic/touchscreen/qtouchscreen.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/generic/touchscreen/qtouchscreen.h b/src/plugins/generic/touchscreen/qtouchscreen.h
index 915a213d41..80a6d3ac58 100644
--- a/src/plugins/generic/touchscreen/qtouchscreen.h
+++ b/src/plugins/generic/touchscreen/qtouchscreen.h
@@ -75,6 +75,7 @@ public:
private slots:
void readData();
+ void onTimeout();
private:
void try_udev(QString *path);