diff options
author | Ken Moore <ken@ixsystems.com> | 2018-02-28 23:29:01 -0500 |
---|---|---|
committer | Ken Moore <ken@ixsystems.com> | 2018-02-28 23:29:01 -0500 |
commit | c67e9b998ee8078065d53823ec790999b9cce62f (patch) | |
tree | c711aa77e11d7a4d99c06997deb7b3cb7d66386d /src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h | |
parent | Some work on Lumina 2. (diff) | |
download | lumina-c67e9b998ee8078065d53823ec790999b9cce62f.tar.gz lumina-c67e9b998ee8078065d53823ec790999b9cce62f.tar.bz2 lumina-c67e9b998ee8078065d53823ec790999b9cce62f.zip |
Start writing up research on how to do the keyboard event listening.
Diffstat (limited to 'src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h')
-rw-r--r-- | src-qt5/core/lumina-desktop-unified/src-events/NativeWindowSystem.h | 2 |
1 files changed, 2 insertions, 0 deletions
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); |