From fdf9ee12916651c708dcd63d557e11e36ec7eb4e Mon Sep 17 00:00:00 2001 From: Frederik Gladhorn Date: Sat, 21 Jan 2012 20:27:07 +0100 Subject: [PATCH] Add accessible role Terminal. MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 (cherry picked from commit 8ca33c6f1643ab5e89699fbf8b80bfaae108b1e5) Change-Id: Ic7beb2ae2ee70f2c526c7ec5bf982bec7ba9feda Reviewed-by: Jan-Arve Sæther --- src/gui/accessible/qaccessible.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/accessible/qaccessible.h b/src/gui/accessible/qaccessible.h index dc74ac1..202791c 100644 --- a/src/gui/accessible/qaccessible.h +++ b/src/gui/accessible/qaccessible.h @@ -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 }; -- 2.7.4