![]() |
LeechCraft
%{LEECHCRAFT_VERSION}
Modular cross-platform feature rich live environment.
|
Proxy for requesting shortcuts from the shortcut manager in the Core. More...
#include "ihaveshortcuts.h"
Public Member Functions | |
virtual QKeySequences_t | GetShortcuts (QObject *object, const QString &id)=0 |
Returns a QKeySequence for the given action. More... | |
virtual | ~IShortcutProxy () |
Proxy for requesting shortcuts from the shortcut manager in the Core.
The plugin can communicate with the shortcut manager via this proxy.
Definition at line 94 of file ihaveshortcuts.h.
|
inlinevirtual |
Definition at line 114 of file ihaveshortcuts.h.
|
pure virtual |
Returns a QKeySequence for the given action.
Returns a list of key sequences for the action with given id for the given object which is currently set in the shortcut manager. The id is the same as in return value of IHaveShortcuts::GetActionInfo().
The object is used to distinguish between ids of different plugins. It can be said that object defines the context for the id.
[in] | object | The object that should be checked. |
[in] | id | ID of the action. |