![]() |
LeechCraft
0.6.70-15082-g543737046d
Modular cross-platform feature rich live environment.
|
Interface for embedding actions and menus into various places. More...
#include "iactionsexporter.h"
Public Member Functions | |
virtual | ~IActionsExporter () |
virtual QList< QAction * > | GetActions (LC::ActionsEmbedPlace area) const =0 |
Returns the actions to embed. More... | |
virtual QMap< QString, QList< QAction * > > | GetMenuActions () const |
Returns the actions to embed into the menu. More... | |
Protected Member Functions | |
virtual void | gotActions (QList< QAction * > actions, LC::ActionsEmbedPlace area)=0 |
Notifies about new actions for the given area. More... | |
Interface for embedding actions and menus into various places.
Definition at line 70 of file iactionsexporter.h.
|
inlinevirtual |
Definition at line 73 of file iactionsexporter.h.
|
pure virtual |
Returns the actions to embed.
Returns the list of actions that will be inserted into the given area.
[in] | area | The area where the actions should be placed. |
Returns the actions to embed into the menu.
For each string key found in the returned map, the corresponding list of QActions would be added to the submenu under that name in the main menu. That allows several different plugins to insert actions into one menu easily.
Definition at line 95 of file iactionsexporter.h.
|
protectedpure virtual |
Notifies about new actions for the given area.
The sender of this signal remains the owner of actions, and it may delete them at any given time.
[out] | actions | The list of new actions for the given area. |
[out] | area | The area where these actions should be placed. |