Miam-Player  0.8.0
A nice music player
ItemViewPlugin Class Referenceabstract

The ItemViewPlugin class. More...

#include <itemviewplugin.h>

Inheritance diagram for ItemViewPlugin:
BasicPlugin

Public Member Functions

 ItemViewPlugin (QObject *parent=nullptr)
 
virtual ~ItemViewPlugin ()
 
virtual QStringList classesToExtend ()=0
 
virtual bool hasSubMenu (const QString &) const
 
virtual QMenu * menu (const QString &, QMenu *)
 
virtual QAction * action (const QString &, QMenu *)
 
virtual void setSelectedTracksModel (const QString &view, SelectedTracksModel *)=0
 
- Public Member Functions inherited from BasicPlugin
 BasicPlugin (QObject *parent=nullptr)
 
virtual ~BasicPlugin ()
 
virtual void cleanUpBeforeDestroy ()
 
virtual QWidget * configPage ()=0
 
virtual void init ()
 
virtual bool isConfigurable () const =0
 
virtual QString name () const =0
 
virtual QString version () const =0
 

Additional Inherited Members

- Public Attributes inherited from BasicPlugin
QTranslator translator
 

Detailed Description

The ItemViewPlugin class.

Author
Matthieu Bachelier

Constructor & Destructor Documentation

ItemViewPlugin::ItemViewPlugin ( QObject *  parent = nullptr)
inlineexplicit
virtual ItemViewPlugin::~ItemViewPlugin ( )
inlinevirtual

Member Function Documentation

virtual QAction* ItemViewPlugin::action ( const QString &  ,
QMenu *   
)
inlinevirtual
virtual QStringList ItemViewPlugin::classesToExtend ( )
pure virtual

This method can specify some classes to extend at runtime, like QMenu (for appending new items).

Reimplemented from BasicPlugin.

virtual bool ItemViewPlugin::hasSubMenu ( const QString &  ) const
inlinevirtual
virtual QMenu* ItemViewPlugin::menu ( const QString &  ,
QMenu *   
)
inlinevirtual
virtual void ItemViewPlugin::setSelectedTracksModel ( const QString &  view,
SelectedTracksModel  
)
pure virtual

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