diff options
author | Michael Weghorn <m.weghorn@posteo.de> | 2023-04-22 15:10:47 +0300 |
---|---|---|
committer | Michael Weghorn <m.weghorn@posteo.de> | 2023-04-22 15:18:37 +0300 |
commit | 963e99197376368e613be865e470b3af5a7a28a6 (patch) | |
tree | 13e00d8edc8b5b5f81b6e8f5cb7597d8e25dd284 /xml | |
parent | 8a4f9ef7467969e93bfcaf78687a4fdc9af2f568 (diff) | |
download | at-spi2-core-963e99197376368e613be865e470b3af5a7a28a6.tar.gz |
TableCell.xml: Add Get{Column,Row}HeaderCells methods
These are in active use but were not contained in the XML
description yet.
I ran into this because the Orca screen reader switched to using
these methods in Orca commit ac2c4470ff4401b53b6de48e12ea5a0a6347897c
("Prefer table cell interface for getting row and column headers") [1],
but Qt does not implement them yet for the TableCell interface, since
the commit that added support for the AT-SPI TableCell interface [2] only
implemented the methods documented in the XML description.
[1] https://gitlab.gnome.org/GNOME/orca/-/commit/ac2c4470ff4401b53b6de48e12ea5a0a6347897c
[2] https://code.qt.io/cgit/qt/qtbase.git/commit/?id=5145d3899d338fbb82a2d314c58eb60a4a5205f8
Diffstat (limited to 'xml')
-rw-r--r-- | xml/TableCell.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/xml/TableCell.xml b/xml/TableCell.xml index fe61d90a..269a7ad4 100644 --- a/xml/TableCell.xml +++ b/xml/TableCell.xml @@ -22,5 +22,24 @@ <arg direction="out" name="col_extents" type="i" /> </method> + <!-- + GetColumnHeaderCells: + + Returns a list of the table cell's column header cells. + --> + <method name="GetColumnHeaderCells"> + <arg direction="out" type="a(so)"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReferenceArray"/> + </method> + + <!-- + GetRowHeaderCells: + + Returns a list of the table cell's row header cells. + --> + <method name="GetRowHeaderCells"> + <arg direction="out" type="a(so)"/> + <annotation name="org.qtproject.QtDBus.QtTypeName.Out0" value="QSpiObjectReferenceArray"/> + </method> </interface> </node> |