summaryrefslogtreecommitdiffstats
path: root/src/kernel/ntqnamespace.h
diff options
context:
space:
mode:
authorMavridis Philippe <mavridisf@gmail.com>2023-12-01 21:20:22 +0200
committerMavridis Philippe <mavridisf@gmail.com>2023-12-16 18:18:14 +0200
commitaec0061106cfff96bb21499850c863b0054ecb5f (patch)
treecb9b6cdf7414490066b5d7ec1cc573656837e9ed /src/kernel/ntqnamespace.h
parent6e5c7efaca8c387084817cf1bea6459f5b4e03c2 (diff)
downloadtqt3-aec0061106cfff96bb21499850c863b0054ecb5f.tar.gz
tqt3-aec0061106cfff96bb21499850c863b0054ecb5f.zip
Add support for HistoryBackButton and HistoryForwardButton
This resolves TDE/tdebase#421. Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'src/kernel/ntqnamespace.h')
-rw-r--r--src/kernel/ntqnamespace.h24
1 files changed, 13 insertions, 11 deletions
diff --git a/src/kernel/ntqnamespace.h b/src/kernel/ntqnamespace.h
index b044494b..a8261be2 100644
--- a/src/kernel/ntqnamespace.h
+++ b/src/kernel/ntqnamespace.h
@@ -74,17 +74,19 @@ public:
// documented in qevent.cpp
enum ButtonState { // mouse/keyboard state values
- NoButton = 0x0000,
- LeftButton = 0x0001,
- RightButton = 0x0002,
- MidButton = 0x0004,
- MouseButtonMask = 0x0007,
- ShiftButton = 0x0100,
- ControlButton = 0x0200,
- AltButton = 0x0400,
- MetaButton = 0x0800,
- KeyButtonMask = 0x0f00,
- Keypad = 0x4000
+ NoButton = 0x0000,
+ LeftButton = 0x0001,
+ RightButton = 0x0002,
+ MidButton = 0x0004,
+ HistoryBackButton = 0x0008,
+ HistoryForwardButton = 0x0010,
+ MouseButtonMask = 0x001f,
+ ShiftButton = 0x0100,
+ ControlButton = 0x0200,
+ AltButton = 0x0400,
+ MetaButton = 0x0800,
+ KeyButtonMask = 0x0f00,
+ Keypad = 0x4000
};
// documented in qobject.cpp