Accessibility for the kdelibs/kate KTextEditor

Review Request #5232 - Created Sept. 2, 2010 and submitted

Information
Sebastian Sauer
kde
Reviewers
kate, kdelibs
cullmann
This patch adds the file kdelibs/kate/view/kateviewaccessible.h that implements two QAccessibleInterface's, one for the document and one for the cursor. In kdelibs/kate/view/kateviewinternal.cpp QAccessible::installFactory is used to install a factory for those QAccessibleInterface's. Also now a QAccessible::Focus signal is emitted at KateViewInternal::makeVisible to allow updating of focus informations what is used in kdeaccessible/kaccessible to provide focus tracking to kmag and the kwin zoom plugin. Or in short: The most interesting effect atm is that focus tracking now follows the cursor in kwrite/kate/ktexteditor :)
export QT_ACCESSIBILITY=1
kmag &
kwrite &

In kmag press F2 to switch to "Follow Focus Mode" see that the view follows the cursor in kwrite.
Christoph Cullmann
I have actually no idea about accessibility ;) I trust you, therefor ship it ;)
Loading...