diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2011-08-30 16:48:57 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@nokia.com> | 2011-09-01 13:27:55 +0200 |
commit | e4ba808305952dd313b495f20300ec6e2c3801ac (patch) | |
tree | 7b2315bc8504cfbbd81cbe69773b4b1d67507c65 /src/declarative/items/qsgtextedit_p.h | |
parent | 565a7827bb2a7c7af23eade8f3c8809c72f81251 (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/qsgtextedit_p.h')
-rw-r--r-- | src/declarative/items/qsgtextedit_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/items/qsgtextedit_p.h b/src/declarative/items/qsgtextedit_p.h index fa61f03f7f..b07292b296 100644 --- a/src/declarative/items/qsgtextedit_p.h +++ b/src/declarative/items/qsgtextedit_p.h @@ -283,10 +283,10 @@ protected: void focusInEvent(QFocusEvent *event); // mouse filter? - void mousePressEvent(QGraphicsSceneMouseEvent *event); - void mouseReleaseEvent(QGraphicsSceneMouseEvent *event); - void mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event); - void mouseMoveEvent(QGraphicsSceneMouseEvent *event); + void mousePressEvent(QMouseEvent *event); + void mouseReleaseEvent(QMouseEvent *event); + void mouseDoubleClickEvent(QMouseEvent *event); + void mouseMoveEvent(QMouseEvent *event); void inputMethodEvent(QInputMethodEvent *e); virtual void itemChange(ItemChange, const ItemChangeData &); |