diff options
author | Casper van Donderen <casper.vandonderen@nokia.com> | 2011-07-14 11:15:36 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-07-22 08:56:32 +0200 |
commit | 354e285209531da86166d94ae5b0fbf749decbcd (patch) | |
tree | 1a4717800ea7aace20c0511ecd731224656e84b8 /src/qtquick1 | |
parent | b3ff60a43d0612ee12da18afff34941c6b307cdc (diff) |
Documentation fix.
Fixes: QTBUG-20390
Change-Id: I30a4b4d1618f80c9a1246955a9b1d6c9f8fbfd57
Reviewed-on: http://codereview.qt.nokia.com/1655
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Casper van Donderen <casper.vandonderen@nokia.com>
Diffstat (limited to 'src/qtquick1')
-rw-r--r-- | src/qtquick1/graphicsitems/qdeclarativetextinput.cpp | 16 |
1 files changed, 6 insertions, 10 deletions
diff --git a/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp b/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp index 9176bbd616..582e3c7e0c 100644 --- a/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp +++ b/src/qtquick1/graphicsitems/qdeclarativetextinput.cpp @@ -566,13 +566,11 @@ QRect QDeclarative1TextInput::cursorRectangle() const \qmlproperty int QtQuick1::TextInput::selectionStart The cursor position before the first character in the current selection. - Setting this and selectionEnd allows you to specify a selection in the - text edit. - Note that if selectionStart == selectionEnd then there is no current - selection. + This property is read-only. To change the selection, use select(start,end), + selectAll(), or selectWord(). - \sa selectionEnd, cursorPosition, selectedText, select() + \sa selectionEnd, cursorPosition, selectedText */ int QDeclarative1TextInput::selectionStart() const { @@ -584,13 +582,11 @@ int QDeclarative1TextInput::selectionStart() const \qmlproperty int QtQuick1::TextInput::selectionEnd The cursor position after the last character in the current selection. - Setting this and selectionStart allows you to specify a selection in the - text edit. - Note that if selectionStart == selectionEnd then there is no current - selection. + This property is read-only. To change the selection, use select(start,end), + selectAll(), or selectWord(). - \sa selectionStart, cursorPosition, selectedText, select() + \sa selectionStart, cursorPosition, selectedText */ int QDeclarative1TextInput::selectionEnd() const { |