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 | |
13 | class KeyState; |
14 | |
15 | class KModifierKeyInfoProviderWayland : public KModifierKeyInfoProvider |
16 | { |
17 | Q_OBJECT |
18 | public: |
19 | KModifierKeyInfoProviderWayland(); |
20 | ~KModifierKeyInfoProviderWayland(); |
21 | |
22 | bool setKeyLatched(Qt::Key key, bool latched) override; |
23 | bool setKeyLocked(Qt::Key key, bool locked) override; |
24 | |
25 | private: |
26 | KeyState *m_keystate; |
27 | }; |
28 | |
29 | #endif |
30 |