![]() |
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 bool | HasObject (QObject *object) const =0 |
Checks whether a given object has been registered already. More... | |
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 108 of file ihaveshortcuts.h.
|
inlinevirtual |
Definition at line 134 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. |
|
pure virtual |
Checks whether a given object has been registered already.