Miam-Player  0.8.0
A nice music player
AbstractSearchDialog Class Referenceabstract

The AbstractSearchDialog class is a pure virtual class which can be passed to plugins to be extended. More...

#include <abstractsearchdialog.h>

Inheritance diagram for AbstractSearchDialog:
SearchDialog

Public Types

enum  Request { Artist = 0, Album = 1, Track = 2 }
 
enum  DataType { DT_Origin = Qt::UserRole + 1, DT_Identifier = Qt::UserRole + 2 }
 

Public Slots

virtual void processResults (Request type, const QStandardItemList &results)=0
 
virtual void aboutToProcessRemoteTracks (const std::list< TrackDAO > &tracks)=0
 

Signals

void aboutToSearch (const QString &text)
 

Public Member Functions

 AbstractSearchDialog (QWidget *parent=nullptr, Qt::WindowFlags f=0)
 
virtual ~AbstractSearchDialog ()
 
virtual void addSource (QCheckBox *checkBox)=0
 
virtual QListView * artists () const =0
 
virtual QListView * albums () const =0
 
virtual QListView * tracks () const =0
 

Detailed Description

The AbstractSearchDialog class is a pure virtual class which can be passed to plugins to be extended.

Author
Matthieu Bachelier

Member Enumeration Documentation

Enumerator
DT_Origin 
DT_Identifier 
Enumerator
Artist 
Album 
Track 

Constructor & Destructor Documentation

AbstractSearchDialog::AbstractSearchDialog ( QWidget *  parent = nullptr,
Qt::WindowFlags  f = 0 
)
inlineexplicit
virtual AbstractSearchDialog::~AbstractSearchDialog ( )
inlinevirtual

Member Function Documentation

virtual void AbstractSearchDialog::aboutToProcessRemoteTracks ( const std::list< TrackDAO > &  tracks)
pure virtualslot
void AbstractSearchDialog::aboutToSearch ( const QString &  text)
signal
virtual void AbstractSearchDialog::addSource ( QCheckBox *  checkBox)
pure virtual

Implemented in SearchDialog.

virtual QListView* AbstractSearchDialog::albums ( ) const
pure virtual

Implemented in SearchDialog.

virtual QListView* AbstractSearchDialog::artists ( ) const
pure virtual

Implemented in SearchDialog.

virtual void AbstractSearchDialog::processResults ( Request  type,
const QStandardItemList results 
)
pure virtualslot
virtual QListView* AbstractSearchDialog::tracks ( ) const
pure virtual

Implemented in SearchDialog.


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