LibreOffice Module vcl (master) 1
qt5/QtXAccessible.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9
10#pragma once
11
12#include <vclpluginapi.h>
13
14#include <QtCore/QObject>
15
16#include <com/sun/star/accessibility/XAccessible.hpp>
17
18#include <vcl/window.hxx>
19
20class QtFrame;
21class QtWidget;
22
23// Wrapper class to hold a css::accessibility::XAccessible object
24// while being able to pass it as a QObject
25class QtXAccessible : public QObject
26{
27 Q_OBJECT
28
29public:
30 QtXAccessible(css::uno::Reference<css::accessibility::XAccessible> xAccessible);
31
36 css::uno::Reference<css::accessibility::XAccessible> m_xAccessible;
37};
38
39/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
QtXAccessible(css::uno::Reference< css::accessibility::XAccessible > xAccessible)
css::uno::Reference< css::accessibility::XAccessible > m_xAccessible
Reference to the XAccessible.