LibreOffice Module vcl (master) 1
Static Public Member Functions | Private Member Functions | Static Private Attributes | List of all members
QtAccessibleRegistry Class Reference

Maintains a mapping between XAccessible objects and the associated QObjects. More...

#include <QtAccessibleRegistry.hxx>

Static Public Member Functions

static QObject * getQObject (css::uno::Reference< XAccessible > xAcc)
 Returns the related QObject* for the XAccessible. More...
 
static void insert (css::uno::Reference< XAccessible > xAcc, QObject *pQObject)
 
static void remove (css::uno::Reference< XAccessible > xAcc)
 Removes the entry for the given XAccessible. More...
 

Private Member Functions

 QtAccessibleRegistry ()=delete
 

Static Private Attributes

static std::map< css::accessibility::XAccessible *, QObject * > m_aMapping
 

Detailed Description

Maintains a mapping between XAccessible objects and the associated QObjects.

The corresponding QObject can be passed to the QAccessible::queryAccessibleInterface method in order to retrieve the QAccessibleInterface for the XAccessible object.

Definition at line 27 of file qt5/QtAccessibleRegistry.hxx.

Constructor & Destructor Documentation

◆ QtAccessibleRegistry()

QtAccessibleRegistry::QtAccessibleRegistry ( )
privatedelete

Member Function Documentation

◆ getQObject()

static QObject * QtAccessibleRegistry::getQObject ( css::uno::Reference< XAccessible >  xAcc)
static

Returns the related QObject* for the XAccessible.

Creates a new one if none exists yet.

◆ insert()

static void QtAccessibleRegistry::insert ( css::uno::Reference< XAccessible >  xAcc,
QObject *  pQObject 
)
static

◆ remove()

static void QtAccessibleRegistry::remove ( css::uno::Reference< XAccessible >  xAcc)
static

Removes the entry for the given XAccessible.

Member Data Documentation

◆ m_aMapping

std::map<css::accessibility::XAccessible*, QObject*> QtAccessibleRegistry::m_aMapping
staticprivate

Definition at line 30 of file qt5/QtAccessibleRegistry.hxx.


The documentation for this class was generated from the following file: