summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
diff options
context:
space:
mode:
authorAndrew den Exter <andrew.den-exter@nokia.com>2011-02-14 08:00:15 (GMT)
committerAndrew den Exter <andrew.den-exter@nokia.com>2011-02-21 03:02:21 (GMT)
commit521a9bba59fe198ec7b1afe9bb25a9d3334675cf (patch)
tree146e3433f401bf642ae29e773ceec50c4203c3ea /src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
parentf141b42b87e0835552c85dbfd1ccce950da5aee3 (diff)
downloadQt-521a9bba59fe198ec7b1afe9bb25a9d3334675cf.zip
Qt-521a9bba59fe198ec7b1afe9bb25a9d3334675cf.tar.gz
Qt-521a9bba59fe198ec7b1afe9bb25a9d3334675cf.tar.bz2
Forward mouse events from TextInput and TextEdit to QInputContext.
This brings TextInput in line with QLineEdit. The fix for TextEdit applies equally to QTextEdit. Change-Id: I5c47e5c8e951ee53cb1fe45d9c302050cd19deef Task-number: QTBUG-15705 Reviewed-by: axis
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput_p_p.h')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput_p_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
index f7446b4..ab2838b 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
+++ b/src/declarative/graphicsitems/qdeclarativetextinput_p_p.h
@@ -104,6 +104,7 @@ public:
void focusChanged(bool hasFocus);
void updateHorizontalScroll();
int calculateTextWidth();
+ bool sendMouseEventToInputContext(QGraphicsSceneMouseEvent *event, QEvent::Type eventType);
QLineControl* control;