summaryrefslogtreecommitdiffstats
path: root/src/declarative/graphicsitems/qdeclarativetextinput.cpp
diff options
context:
space:
mode:
authorJoona Petrell <joona.t.petrell@nokia.com>2011-02-22 04:12:05 (GMT)
committerJoona Petrell <joona.t.petrell@nokia.com>2011-02-22 04:12:05 (GMT)
commitbf9ca539dc4c5efff801856ad9d3f7e14dabad26 (patch)
treea5ae494b6e8a2b33f4345f484ba2ead04aca761e /src/declarative/graphicsitems/qdeclarativetextinput.cpp
parentb254be20c03d4dbfc1803cd40dc95d52115b955c (diff)
parenta34e2ab6f50cc91a4fca5cd7fd7bd22e6495b0c1 (diff)
downloadQt-bf9ca539dc4c5efff801856ad9d3f7e14dabad26.zip
Qt-bf9ca539dc4c5efff801856ad9d3f7e14dabad26.tar.gz
Qt-bf9ca539dc4c5efff801856ad9d3f7e14dabad26.tar.bz2
Merge branch '4.7' of git://scm.dev.nokia.troll.no/qt/qt into 4.7
Conflicts: tools/qml/qml.pri
Diffstat (limited to 'src/declarative/graphicsitems/qdeclarativetextinput.cpp')
-rw-r--r--src/declarative/graphicsitems/qdeclarativetextinput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/graphicsitems/qdeclarativetextinput.cpp b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
index ba1ae63..78f34db 100644
--- a/src/declarative/graphicsitems/qdeclarativetextinput.cpp
+++ b/src/declarative/graphicsitems/qdeclarativetextinput.cpp
@@ -551,10 +551,10 @@ void QDeclarativeTextInput::select(int start, int end)
It is equivalent to the following snippet, but is faster and easier
to use.
- \qml
+ \js
myTextInput.text.toString().substring(myTextInput.selectionStart,
myTextInput.selectionEnd);
- \endqml
+ \endjs
*/
QString QDeclarativeTextInput::selectedText() const
{