bump product version to 7.2.5.1
[LibreOffice.git] / vcl / inc / qt5 / Qt5AccessibleEventListener.hxx
blob0fd3783eee73ac1aeeba3036d0e5b65d6b3db032
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
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 */
10 #pragma once
12 #include <com/sun/star/accessibility/XAccessible.hpp>
13 #include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
14 #include <com/sun/star/lang/EventObject.hpp>
16 #include "Qt5AccessibleWidget.hxx"
18 #include <cppuhelper/implbase.hxx>
20 class Qt5AccessibleEventListener final
21 : public cppu::WeakImplHelper<css::accessibility::XAccessibleEventListener>
23 public:
24 Qt5AccessibleEventListener(
25 const css::uno::Reference<css::accessibility::XAccessible> xAccessible,
26 Qt5AccessibleWidget* pAccessibleWidget);
28 virtual void SAL_CALL
29 notifyEvent(const css::accessibility::AccessibleEventObject& aEvent) override;
31 virtual void SAL_CALL disposing(const css::lang::EventObject& Source) override;
33 private:
34 css::uno::Reference<css::accessibility::XAccessible> m_xAccessible;
35 Qt5AccessibleWidget* m_pAccessibleWidget;
38 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */