Add accessible role Terminal.
authorFrederik Gladhorn <frederik.gladhorn@nokia.com>
Sat, 21 Jan 2012 19:27:07 +0000 (20:27 +0100)
committerQt by Nokia <qt-info@nokia.com>
Mon, 6 Feb 2012 09:15:09 +0000 (10:15 +0100)
Forward ported from Qt 4.

This is used to mark the role of VTs, terminal emulators.
Needed in order to know about the special editing behavior.
In order to make for example KDE's Konsole accessible this is required.

reviewed-by: jan-arve sæther <jan-arve.saether@nokia.com>
(cherry picked from commit 8ca33c6f1643ab5e89699fbf8b80bfaae108b1e5)

Change-Id: Ic7beb2ae2ee70f2c526c7ec5bf982bec7ba9feda
Reviewed-by: Jan-Arve Sæther <jan-arve.saether@nokia.com>
src/gui/accessible/qaccessible.h

index dc74ac1..202791c 100644 (file)
@@ -291,6 +291,7 @@ public:
         Splitter       = 0x0000003E,
         // Additional Qt roles where enum value does not map directly to MSAA:
         LayeredPane    = 0x0000003F,
+        Terminal       = 0x00000040,
         UserRole       = 0x0000ffff
     };