aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/items/qsgpathview_p_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@nokia.com>2011-08-30 16:48:57 +0200
committerLars Knoll <lars.knoll@nokia.com>2011-09-01 13:27:55 +0200
commite4ba808305952dd313b495f20300ec6e2c3801ac (patch)
tree7b2315bc8504cfbbd81cbe69773b4b1d67507c65 /src/declarative/items/qsgpathview_p_p.h
parent565a7827bb2a7c7af23eade8f3c8809c72f81251 (diff)
Use QMouseEvent instead of QGraphicsSceneMouseEvent
QMouseEvent now supports floating point coordinates, and the graphics scene event is not be available in QtGui anymore. Change-Id: I28ab428a2d00fc1deef55b05c1c545e74838e105 Reviewed-on: http://codereview.qt.nokia.com/3991 Reviewed-by: Gunnar Sletta <gunnar.sletta@nokia.com>
Diffstat (limited to 'src/declarative/items/qsgpathview_p_p.h')
-rw-r--r--src/declarative/items/qsgpathview_p_p.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/items/qsgpathview_p_p.h b/src/declarative/items/qsgpathview_p_p.h
index 1575c6c1ca..30bb74a984 100644
--- a/src/declarative/items/qsgpathview_p_p.h
+++ b/src/declarative/items/qsgpathview_p_p.h
@@ -124,9 +124,9 @@ public:
return model && model->count() > 0 && model->isValid() && path;
}
- void handleMousePressEvent(QGraphicsSceneMouseEvent *event);
- void handleMouseMoveEvent(QGraphicsSceneMouseEvent *event);
- void handleMouseReleaseEvent(QGraphicsSceneMouseEvent *);
+ void handleMousePressEvent(QMouseEvent *event);
+ void handleMouseMoveEvent(QMouseEvent *event);
+ void handleMouseReleaseEvent(QMouseEvent *);
int calcCurrentIndex();
void updateCurrent();