9#ifndef INTERFACES_IACTIONSEXPORTER_H
10#define INTERFACES_IACTIONSEXPORTER_H
113Q_DECLARE_INTERFACE (
IActionsExporter,
"org.Deviant.LeechCraft.IActionsExporter/1.0")
Interface for embedding actions and menus into various places.
virtual void gotActions(QList< QAction * > actions, LC::ActionsEmbedPlace area)=0
Notifies about new actions for the given area.
virtual QMap< QString, QList< QAction * > > GetMenuActions() const
Returns the actions to embed into the menu.
virtual QList< QAction * > GetActions(LC::ActionsEmbedPlace area) const =0
Returns the actions to embed.
virtual ~IActionsExporter()
ActionsEmbedPlace
Specifies where the actions should be embedded.
@ TrayMenu
The context menu of the LeechCraft tray icon.
@ CommonContextMenu
The common tabbar context menu.
@ QuickLaunch
The quick launch area.
@ ToolsMenu
The Tools submenu of main LeechCraft menu.