How do I have some system-wide global hotkeys?
I can have an application shortcut by e.g.:
Code:
(void) new QShortcut(Qt
::CTRL + Qt
::Key_Q,
this,
SLOT(closeapp
()));
In this, by pressing Ctrl+Q while the user is focused on the application I can command the program to quit.
The issue is that the program minimizes to tray and I want to be able to have a global hotkey so as to do a specific action while being there.
Is this possible?
Re: How do I have some system-wide global hotkeys?
This is something you will have to conffigure on system/desktop manager level.
Not something you can do in your own application.