qt6-bb10/src/gui/accessible/linux
Michael Weghorn e6599bfa61 a11y atspi: Send correct D-Bus reply for GetAttributeValue
Only return a string for the attribute value
(an empty string if the attribute is not set).

The previous implementation was based on the incorrect
signature in the XML spec for the AT-SPI Text interface from
before the AT-SPI commit that removed the extra out params [1]:

    commit 8786849ce6e9914383aa766ff9ce7e00f5b2178d
    Author: Patryk Kaczmarek <patryk.k@samsung.com>
    Date:   Mon Sep 28 14:23:15 2015 +0200

        Fixed atspi_text_ functions

          * atspi_text_get_text_attribute_value
              Fixed dbus signature in _atspi_dbus_call function
              and add missing argument for string.

          * atspi_text_get_default_attributes
              Receiving return value by reference from hash table

        https://bugzilla.gnome.org/show_bug.cgi?id=755731

[1] 8786849ce6

Fixes: QTBUG-105752
Pick-to: 6.4
Change-Id: I66d3c484ecc4b469684635723242c915e4365e6a
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-08-19 02:43:00 +00:00
..
dbusxml
atspiadaptor.cpp a11y atspi: Send correct D-Bus reply for GetAttributeValue 2022-08-19 02:43:00 +00:00
atspiadaptor_p.h a11y atspi: Send correct D-Bus reply for GetAttributeValue 2022-08-19 02:43:00 +00:00
dbusconnection.cpp Use class scope to refer to static function 2022-07-25 19:29:07 +02:00
dbusconnection_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qspi_constant_mappings.cpp Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qspi_constant_mappings_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qspi_struct_marshallers.cpp Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qspi_struct_marshallers_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qspiaccessiblebridge.cpp Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qspiaccessiblebridge_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qspiapplicationadaptor.cpp Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qspiapplicationadaptor_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qspidbuscache.cpp Replace QT_NO_ACCESSIBILITY with QT_CONFIG(accessibility) 2022-06-15 18:03:30 +02:00
qspidbuscache_p.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00