LibreOffice Module vcl (master) 1
qt5/QtAccessibleEventListener.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 <com/sun/star/accessibility/XAccessible.hpp>
13#include <com/sun/star/accessibility/XAccessibleEventListener.hpp>
14#include <com/sun/star/lang/EventObject.hpp>
15
17
19
21 : public cppu::WeakImplHelper<css::accessibility::XAccessibleEventListener>
22{
23public:
24 explicit QtAccessibleEventListener(QtAccessibleWidget* pAccessibleWidget);
25
26 virtual void SAL_CALL
27 notifyEvent(const css::accessibility::AccessibleEventObject& aEvent) override;
28
29 virtual void SAL_CALL disposing(const css::lang::EventObject& Source) override;
30
31private:
33
34 static void HandleStateChangedEvent(QAccessibleInterface* pQAccessibleInterface,
35 const css::accessibility::AccessibleEventObject& rEvent);
36};
37
38/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
QtAccessibleEventListener(QtAccessibleWidget *pAccessibleWidget)
virtual void SAL_CALL disposing(const css::lang::EventObject &Source) override
virtual void SAL_CALL notifyEvent(const css::accessibility::AccessibleEventObject &aEvent) override
static void HandleStateChangedEvent(QAccessibleInterface *pQAccessibleInterface, const css::accessibility::AccessibleEventObject &rEvent)