I can have an application shortcut by e.g.:
(void) new QShortcut(Qt
::CTRL + Qt
::Key_Q,
this,
SLOT(closeapp
()));
(void) new QShortcut(Qt::CTRL + Qt::Key_Q, this, SLOT(closeapp()));
To copy to clipboard, switch view to plain text mode
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?
Bookmarks