summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qapplication_p.h
diff options
context:
space:
mode:
authorBradley T. Hughes <bradley.hughes@nokia.com>2009-06-18 10:49:11 (GMT)
committerBradley T. Hughes <bradley.hughes@nokia.com>2009-06-18 10:49:11 (GMT)
commit3b04dba36b31360d94583f382b9054bcdea0e2a7 (patch)
treef56d1329980987a21d0c457e21ebb99f820e3ef2 /src/gui/kernel/qapplication_p.h
parent9756f523fd1c31192a87c65449434280a59b49f7 (diff)
downloadQt-3b04dba36b31360d94583f382b9054bcdea0e2a7.zip
Qt-3b04dba36b31360d94583f382b9054bcdea0e2a7.tar.gz
Qt-3b04dba36b31360d94583f382b9054bcdea0e2a7.tar.bz2
Change behavior of how touch and mouse events work together
We now send both types of events, i.e. accepting TouchBegin doesn't block mouse events anymore. We are also introducing the idea of a "primary" touch point, which is the one that the system is also generating mouse events for. This lets us reuse existing mouse event code while still being able to add multi-touch support.
Diffstat (limited to 'src/gui/kernel/qapplication_p.h')
-rw-r--r--src/gui/kernel/qapplication_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/kernel/qapplication_p.h b/src/gui/kernel/qapplication_p.h
index fcdd353..f2226ce 100644
--- a/src/gui/kernel/qapplication_p.h
+++ b/src/gui/kernel/qapplication_p.h
@@ -447,7 +447,7 @@ public:
int findClosestTouchPointId(const QPointF &screenPos);
void appendTouchPoint(const QTouchEvent::TouchPoint &touchPoint);
void removeTouchPoint(int touchPointId);
- static bool translateRawTouchEvent(QWidget *widget,
+ static void translateRawTouchEvent(QWidget *widget,
const QList<QTouchEvent::TouchPoint> &touchPoints);
#if defined(Q_WS_WIN)