digiKam
Digikam::AbstractAlbumTreeView::ContextMenuElement Class Referenceabstract
+ Inheritance diagram for Digikam::AbstractAlbumTreeView::ContextMenuElement:

Public Member Functions

virtual void addActions (AbstractAlbumTreeView *view, ContextMenuHelper &cmh, Album *album)=0
 
 ContextMenuElement ()=default
 
virtual ~ContextMenuElement ()=default
 

Detailed Description

Add a context menu element which can add actions to the context menu when the menu is generated. First, addCustomContextMenuActions is called, then all elements' addActions method is called in order of addition.

Constructor & Destructor Documentation

◆ ContextMenuElement()

Digikam::AbstractAlbumTreeView::ContextMenuElement::ContextMenuElement ( )
default

◆ ~ContextMenuElement()

virtual Digikam::AbstractAlbumTreeView::ContextMenuElement::~ContextMenuElement ( )
virtualdefault

Member Function Documentation

◆ addActions()

virtual void Digikam::AbstractAlbumTreeView::ContextMenuElement::addActions ( AbstractAlbumTreeView view,
ContextMenuHelper cmh,
Album album 
)
pure virtual

Add actions to the context menu being generated

Parameters
viewThe AbstractAlbumTreeView which generates the menu
cmhhelper object to create the context menu
albumthe album on which the context menu will be created. May be null if it is requested on no tag entry

The documentation for this class was generated from the following file: