diff options
author | Frederik Gladhorn <frederik.gladhorn@theqtcompany.com> | 2016-07-05 16:35:39 +0200 |
---|---|---|
committer | Shawn Rutledge <shawn.rutledge@qt.io> | 2016-07-06 11:54:04 +0000 |
commit | 00a85fb5c9eebe8458d0f9c9be7745c5e26fa9b4 (patch) | |
tree | 8572e177f8019e6fd3cc7e57fd388244710865e8 /src/quick/items/qquickwindow_p.h | |
parent | ae87e1034d186798c092e24ee13930a3ce245363 (diff) |
Move touch event compression into a function
This makes it easier to understand what's going on.
Change-Id: I7846178d791b12fc3b78a5790419fe7fb32601f2
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/quick/items/qquickwindow_p.h')
-rw-r--r-- | src/quick/items/qquickwindow_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickwindow_p.h b/src/quick/items/qquickwindow_p.h index 9a5a13d142..1b4b87e001 100644 --- a/src/quick/items/qquickwindow_p.h +++ b/src/quick/items/qquickwindow_p.h @@ -160,6 +160,7 @@ public: void handleTouchEvent(QTouchEvent *); void handleMouseEvent(QMouseEvent *); void deliverTouchEvent(QTouchEvent *); + bool compressTouchEvent(QTouchEvent *); bool deliverTouchCancelEvent(QTouchEvent *); void deliverDelayedTouchEvent(); void flushFrameSynchronousEvents(); |