Add undo and redo functions to TextInput and TextEdit.
authorAndrew den Exter <andrew.den-exter@nokia.com>
Tue, 10 Jan 2012 01:52:43 +0000 (11:52 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 12 Jan 2012 08:33:32 +0000 (09:33 +0100)
commit9d73bf289e2719d781670baad1733989a56d7f40
tree468c8a6258343874f0781b30c07287485fa4cbaf
parent316e5db8a403ce8493e22361c446a003a5c3770c
Add undo and redo functions to TextInput and TextEdit.

The functionality already existed and was usable through keyboard short
cuts but was not accessible through API.

Task-number: QTBUG-16191
Change-Id: I080fa2ddb76668a7a632aa7477004f99037ea68b
Reviewed-by: Martin Jones <martin.jones@nokia.com>
src/quick/items/qquicktextcontrol.cpp
src/quick/items/qquicktextcontrol_p.h
src/quick/items/qquicktextedit.cpp
src/quick/items/qquicktextedit_p.h
src/quick/items/qquicktextinput.cpp
src/quick/items/qquicktextinput_p.h
src/quick/items/qquicktextinput_p_p.h
tests/auto/qtquick2/qquicktextedit/tst_qquicktextedit.cpp
tests/auto/qtquick2/qquicktextinput/tst_qquicktextinput.cpp