![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Proxy for requesting shortcuts from the shortcut manager in the Core. More...
#include "ishortcutproxy.h"
Public Member Functions | |
virtual bool | HasObject (QObject *object) const =0 |
Checks whether a given object has been registered already. More... | |
virtual QList< QKeySequence > | 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 27 of file ishortcutproxy.h.
|
inlinevirtual |
Definition at line 54 of file ishortcutproxy.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.
[in] | object | The object to check. |