| 1 | // Copyright (C) 2024 The Qt Company Ltd. |
| 2 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
| 3 | |
| 4 | #ifndef QVXKEYCODEACTION_H |
| 5 | #define QVXKEYCODEACTION_H |
| 6 | |
| 7 | #include <QtCore/qtconfigmacros.h> |
| 8 | |
| 9 | // |
| 10 | // W A R N I N G |
| 11 | // ------------- |
| 12 | // |
| 13 | // This file is not part of the Qt API. It exists purely as an |
| 14 | // implementation detail. This header file may change from version to |
| 15 | // version without notice, or even be removed. |
| 16 | // |
| 17 | // We mean it. |
| 18 | // |
| 19 | |
| 20 | QT_BEGIN_NAMESPACE |
| 21 | |
| 22 | enum class QKeycodeAction { |
| 23 | None = 0, |
| 24 | |
| 25 | CapsLockOff = 0x01000000, |
| 26 | CapsLockOn = 0x01000001, |
| 27 | NumLockOff = 0x02000000, |
| 28 | NumLockOn = 0x02000001, |
| 29 | ScrollLockOff = 0x03000000, |
| 30 | ScrollLockOn = 0x03000001, |
| 31 | |
| 32 | Reboot = 0x04000000, |
| 33 | |
| 34 | PreviousConsole = 0x05000000, |
| 35 | NextConsole = 0x05000001, |
| 36 | SwitchConsoleFirst = 0x06000000, |
| 37 | SwitchConsoleLast = 0x0600007f, |
| 38 | SwitchConsoleMask = 0x0000007f |
| 39 | }; |
| 40 | |
| 41 | QT_END_NAMESPACE |
| 42 | |
| 43 | #endif // QVXKEYCODEACTION_H |
| 44 | |