From c67e9b998ee8078065d53823ec790999b9cce62f Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Wed, 28 Feb 2018 23:29:01 -0500 Subject: Start writing up research on how to do the keyboard event listening. --- src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h') diff --git a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h index 74849cf4..0b6cd67e 100644 --- a/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h +++ b/src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h @@ -79,6 +79,8 @@ public: //Small simplification functions static Qt::Key KeycodeToQt(int keycode); static NativeWindowSystem::MouseButton MouseToQt(int button); + void RegisterEventShortcut(Qt::Key key, bool set); + void RegisterEventShortcut(int keycode, bool set); void raiseWindow(NativeWindowObject *win); void lowerWindow(NativeWindowObject *win); -- cgit