summaryrefslogtreecommitdiffstats
path: root/src/gui/kernel/qevent.cpp
diff options
context:
space:
mode:
authorAlessandro Portale <aportale@trolltech.com>2009-06-03 12:32:12 (GMT)
committerAlessandro Portale <aportale@trolltech.com>2009-06-03 12:32:12 (GMT)
commit3524dcecdd7d3fef48932f17814bf4a2ecd2cda7 (patch)
tree294ba02513110e42377b5a140fc6cf03cd31c857 /src/gui/kernel/qevent.cpp
parent9db0d28080b4b08ef484e2fb767e20a2754f537d (diff)
parent3d05a836cb0bc62e6dc31d297bada07ec60adc34 (diff)
downloadQt-3524dcecdd7d3fef48932f17814bf4a2ecd2cda7.zip
Qt-3524dcecdd7d3fef48932f17814bf4a2ecd2cda7.tar.gz
Qt-3524dcecdd7d3fef48932f17814bf4a2ecd2cda7.tar.bz2
Merge branch 'master' of git@scm.dev.troll.no:qt/qt-s60-public
Diffstat (limited to 'src/gui/kernel/qevent.cpp')
-rw-r--r--src/gui/kernel/qevent.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gui/kernel/qevent.cpp b/src/gui/kernel/qevent.cpp
index 2aed287..ba85eea 100644
--- a/src/gui/kernel/qevent.cpp
+++ b/src/gui/kernel/qevent.cpp
@@ -1665,6 +1665,17 @@ Qt::ButtonState QContextMenuEvent::state() const
several are specified for any character in the string the behaviour
is undefined.
+ \value Selection
+ If set, the edit cursor should be moved to the specified position
+ in the editor text contents. In contrast with \c Cursor, this
+ attribute does not work on the preedit text, but on the surrounding
+ text. The cursor will be moved after the commit string has been
+ committed, and the preedit string will be located at the new edit
+ position.
+ The start position specifies the new position and the length
+ variable can be used to set a selection starting from that point.
+ The value is unused.
+
\sa Attribute
*/