14#include <QtCore/QObject>
16#include <com/sun/star/accessibility/XAccessible.hpp>
18using namespace css::accessibility;
30 static std::map<css::accessibility::XAccessible*, QObject*>
m_aMapping;
35 static QObject*
getQObject(css::uno::Reference<XAccessible> xAcc);
36 static void insert(css::uno::Reference<XAccessible> xAcc, QObject* pQObject);
38 static void remove(css::uno::Reference<XAccessible> xAcc);
Maintains a mapping between XAccessible objects and the associated QObjects.
static QObject * getQObject(css::uno::Reference< XAccessible > xAcc)
Returns the related QObject* for the XAccessible.
static void insert(css::uno::Reference< XAccessible > xAcc, QObject *pQObject)
QtAccessibleRegistry()=delete
static std::map< css::accessibility::XAccessible *, QObject * > m_aMapping
static void remove(css::uno::Reference< XAccessible > xAcc)
Removes the entry for the given XAccessible.