File indexing completed on 2024-04-21 14:56:36
0001 /* 0002 SPDX-License-Identifier: LGPL-2.1-only OR LGPL-3.0-only OR LicenseRef-KDE-Accepted-LGPL 0003 SPDX-FileCopyrightText: 2020 David Redondo <kde@david-redondo.de> 0004 */ 0005 0006 #ifndef SHORTCUTINHIBITION_H 0007 #define SHORTCUTINHIBITION_H 0008 0009 class QWindow; 0010 0011 class ShortcutInhibition 0012 { 0013 public: 0014 virtual ~ShortcutInhibition() 0015 { 0016 } 0017 virtual void enableInhibition() = 0; 0018 virtual void disableInhibition() = 0; 0019 virtual bool shortcutsAreInhibited() const = 0; 0020 }; 0021 0022 #endif