Add getText(), insert(), and remove() functions to TextEdit.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Thu, 24 Nov 2011 02:53:05 +0000 (12:53 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 25 Nov 2011 05:54:20 +0000 (06:54 +0100)
commitf740895a71b6b0e7df5214cafa9c7746ca960ef7
tree4c47cc9eea5140afe2cf43043c0c0a33d2b60da9
parentfa031fa3f540516e681b3bb6d6dde84f3aa28b1a
Add getText(), insert(), and remove() functions to TextEdit.

The getText() function provides access to the plain text content of a
TextEdit, and the insert() and remove() functions allow the text content
to be edited inline instead of having to assign an edited string to the
text property to make any change.

Change-Id: Id4edf0312358e2d2db45e4c649b7bd3d22f02ffa
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/declarative/items/qquicktextedit.cpp
src/declarative/items/qquicktextedit_p.h
tests/auto/declarative/qquicktextedit/tst_qquicktextedit.cpp