diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-06-27 23:00:28 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-07 11:54:54 +0200 |
commit | 41760be67115f76c553f4fe641f52329b8f8dcba (patch) | |
tree | 30b35cd7d3d7da221b13002656f92d47ca432f7b /src/declarative/items/qsgcanvas_p.h | |
parent | 8f2c875d37ebb880720f66be6709e4e5852d9aad (diff) |
Replace the QGraphicsSceneHoverEvent with a QHoverEvent
One step towards getting rid of the remaining graphics view
dependencies
Change-Id: Ieeb84fc115c96393fdee453615a424679dc48177
Reviewed-on: http://codereview.qt.nokia.com/1139
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/declarative/items/qsgcanvas_p.h')
-rw-r--r-- | src/declarative/items/qsgcanvas_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/items/qsgcanvas_p.h b/src/declarative/items/qsgcanvas_p.h index a5baba6f1b..dfe189cabe 100644 --- a/src/declarative/items/qsgcanvas_p.h +++ b/src/declarative/items/qsgcanvas_p.h @@ -114,9 +114,9 @@ public: bool deliverTouchPoints(QSGItem *, QTouchEvent *, const QList<QTouchEvent::TouchPoint> &, QSet<int> *, QHash<QSGItem *, QList<QTouchEvent::TouchPoint> > *); bool deliverTouchEvent(QTouchEvent *); - void sceneHoverEventFromMouseEvent(QGraphicsSceneHoverEvent &, QMouseEvent *); - bool deliverHoverEvent(QSGItem *, QGraphicsSceneHoverEvent *); - void sendHoverEvent(QEvent::Type, QSGItem *, QGraphicsSceneHoverEvent *); + bool deliverHoverEvent(QSGItem *, const QPointF &scenePos, const QPointF &lastScenePos, Qt::KeyboardModifiers modifiers, bool &accepted); + bool sendHoverEvent(QEvent::Type, QSGItem *, const QPointF &scenePos, const QPointF &lastScenePos, + Qt::KeyboardModifiers modifiers, bool accepted); void clearHover(); void deliverDragEvent(QSGDragEvent *); bool deliverDragEvent(QSGItem *item, QSGDragEvent *); |