diff options
author | Luis Gabriel Lima <[email protected]> | 2012-01-05 15:19:26 -0300 |
---|---|---|
committer | Qt by Nokia <[email protected]> | 2012-03-10 02:28:11 +0100 |
commit | f2e1be963f885a6030136591414cdbda26d50695 (patch) | |
tree | 3ff02cedfbf5df61e8459dc6d58afd437b23e87b /src/quick/items/qquickmousearea_p_p.h | |
parent | 78356f6038065227acb2dc898994765f49f07b42 (diff) |
Add mouse wheel events handler to MouseArea
This patch was based on the attached patch in QTBUG-7369. It basically
exposes the wheel events to MouseArea via the onWheel signal.
The current API is based on the new QWheelEvent API introduced by this
patch: http://codereview.qt-project.org/#change,12532
Task-number: QTBUG-7369
Change-Id: Id58513715c2d0ae81e3a69e9e1ed400bbae07507
Reviewed-by: Michael Brasser <[email protected]>
Diffstat (limited to 'src/quick/items/qquickmousearea_p_p.h')
-rw-r--r-- | src/quick/items/qquickmousearea_p_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/quick/items/qquickmousearea_p_p.h b/src/quick/items/qquickmousearea_p_p.h index bcdf033cba..f5521d9228 100644 --- a/src/quick/items/qquickmousearea_p_p.h +++ b/src/quick/items/qquickmousearea_p_p.h @@ -83,6 +83,7 @@ public: bool isPressAndHoldConnected(); bool isDoubleClickConnected(); bool isClickConnected(); + bool isWheelConnected(); bool absorb : 1; bool hovered : 1; |