File indexing completed on 2024-12-01 06:44:14

0001 /*
0002     SPDX-FileCopyrightText: 2019 Aleix Pol Gonzalez <aleixpol@kde.org>
0003     SPDX-FileCopyrightText: 2022 Nicolas Fella <nicolas.fella@gmx.de>
0004 
0005     SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL
0006 */
0007 
0008 #ifndef KMODIFIERKEYINFOPROVIDERWAYLAND_H
0009 #define KMODIFIERKEYINFOPROVIDERWAYLAND_H
0010 
0011 #include <kmodifierkeyinfoprovider_p.h>
0012 
0013 class KeyState;
0014 
0015 class KModifierKeyInfoProviderWayland : public KModifierKeyInfoProvider
0016 {
0017     Q_OBJECT
0018 public:
0019     KModifierKeyInfoProviderWayland();
0020     ~KModifierKeyInfoProviderWayland();
0021 
0022     bool setKeyLatched(Qt::Key key, bool latched) override;
0023     bool setKeyLocked(Qt::Key key, bool locked) override;
0024 
0025 private:
0026     KeyState *m_keystate;
0027 };
0028 
0029 #endif