KGuiAddons

kmodifierkeyinfoprovider_wayland.h
1/*
2 SPDX-FileCopyrightText: 2019 Aleix Pol Gonzalez <aleixpol@kde.org>
3 SPDX-FileCopyrightText: 2022 Nicolas Fella <nicolas.fella@gmx.de>
4
5 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
6*/
7
8#ifndef KMODIFIERKEYINFOPROVIDERWAYLAND_H
9#define KMODIFIERKEYINFOPROVIDERWAYLAND_H
10
11#include <kmodifierkeyinfoprovider_p.h>
12
13class KeyState;
14
15class KModifierKeyInfoProviderWayland : public KModifierKeyInfoProvider
16{
17 Q_OBJECT
18public:
19 KModifierKeyInfoProviderWayland();
20 ~KModifierKeyInfoProviderWayland();
21
22 bool setKeyLatched(Qt::Key key, bool latched) override;
23 bool setKeyLocked(Qt::Key key, bool locked) override;
24
25private:
26 KeyState *m_keystate;
27};
28
29#endif
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Tue Mar 26 2024 11:14:40 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.