1 | /* |
---|---|
2 | SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL |
3 | SPDX-FileCopyrightText: 2020 David Redondo <kde@david-redondo.de> |
4 | */ |
5 | |
6 | #ifndef SHORTCUTINHIBITION_H |
7 | #define SHORTCUTINHIBITION_H |
8 | |
9 | class QWindow; |
10 | |
11 | class ShortcutInhibition |
12 | { |
13 | public: |
14 | virtual ~ShortcutInhibition() |
15 | { |
16 | } |
17 | virtual void enableInhibition() = 0; |
18 | virtual void disableInhibition() = 0; |
19 | virtual bool shortcutsAreInhibited() const = 0; |
20 | }; |
21 | |
22 | #endif |
23 |