LibreOffice Module vcl (master)  1
Qt5XAccessible.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 
20 class Qt5Frame;
21 class Qt5Widget;
22 
23 // Wrapper class to hold a css::accessibility::XAccessible object
24 // while being able to pass it as a QObject
25 class VCLPLUG_QT5_PUBLIC Qt5XAccessible : public QObject
26 {
27  Q_OBJECT
28 
29 public:
30  Qt5XAccessible(css::uno::Reference<css::accessibility::XAccessible> xAccessible);
31  css::uno::Reference<css::accessibility::XAccessible> m_xAccessible;
32 };
33 
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
#define VCLPLUG_QT5_PUBLIC
Definition: vclpluginapi.h:53
css::uno::Reference< css::accessibility::XAccessible > m_xAccessible