![]() |
Sayonara Player
|
Public Member Functions | |
Container (QObject *parent=nullptr) | |
void | init () override |
init | |
virtual void | rename (const QString &new_name) override |
virtual QString | displayName () const override |
Should return the translated name displayed in the library view combobox. More... | |
virtual QMenu * | menu () override |
return actions menu (may be nullptr). The title does not have to be set More... | |
virtual bool | isLocal () const override |
a local library is a library which writes to the library field of the database. This should be false for every new plugin More... | |
virtual QString | name () const =0 |
Should return an untranslated name used for identifying this widget. More... | |
virtual QWidget * | widget () const =0 |
Should return the UI for the library view. More... | |
virtual QFrame * | header () const =0 |
this is a frame at the top left of the container where the combo box will be located More... | |
virtual QPixmap | icon () const =0 |
Every library should show a icon in the combo box. More... | |
Protected Member Functions | |
virtual void | initUi ()=0 |
Should initialize the ui. The ui constructor should be called within this function. | |
Friends | |
class | PluginHandler |
|
overridevirtual |
Should return the translated name displayed in the library view combobox.
Implements Library::AbstractContainer.
Reimplemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.
|
pure virtualinherited |
this is a frame at the top left of the container where the combo box will be located
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.
|
pure virtualinherited |
Every library should show a icon in the combo box.
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.
|
overridevirtual |
a local library is a library which writes to the library field of the database. This should be false for every new plugin
Implements Library::AbstractContainer.
Reimplemented in LocalLibraryContainer.
|
overridevirtual |
return actions menu (may be nullptr). The title does not have to be set
Implements Library::AbstractContainer.
Reimplemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, and EmptyLibraryContainer.
|
pure virtualinherited |
Should return an untranslated name used for identifying this widget.
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.
|
pure virtualinherited |
Should return the UI for the library view.
Implemented in SC::LibraryContainer, SomaFM::LibraryContainer, LocalLibraryContainer, EmptyLibraryContainer, and HistoryContainer.