diff options
author | Joona Petrell <joona.t.petrell@nokia.com> | 2010-12-30 07:52:30 (GMT) |
---|---|---|
committer | Joona Petrell <joona.t.petrell@nokia.com> | 2010-12-30 07:58:20 (GMT) |
commit | 22daf9fbdfaa859db6414d39d9354e7d46f63005 (patch) | |
tree | 372a0d1d69fa82dd6aad44f09f239e1014bea750 /src/declarative/graphicsitems/qdeclarativetextinput_p.h | |
parent | 2de60ba30f86a9dd338359f7269b62ca5d0a2c46 (diff) | |
download | Qt-22daf9fbdfaa859db6414d39d9354e7d46f63005.zip Qt-22daf9fbdfaa859db6414d39d9354e7d46f63005.tar.gz Qt-22daf9fbdfaa859db6414d39d9354e7d46f63005.tar.bz2 |
Add convenience deselect() functions to TextInput and TextEdit
Task-number: QTBUG-16059
Reviewed-by: Christopher Ham
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput_p.h')
-rw-r--r-- | src/declarative/graphicsitems/qdeclarativetextinput_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput_p.h b/src/declarative/graphicsitems/qdeclarativetextinput_p.h index 06f77e5..878f040 100644 --- a/src/declarative/graphicsitems/qdeclarativetextinput_p.h +++ b/src/declarative/graphicsitems/qdeclarativetextinput_p.h @@ -231,6 +231,7 @@ protected: void focusInEvent(QFocusEvent *event); public Q_SLOTS: + void deselect(); void selectAll(); void selectWord(); void select(int start, int end); |