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. | |
virtual QMenu * | menu () override |
return actions menu (may be nullptr). The title does not have to be set | |
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 | |
virtual QString | name () const =0 |
Should return an untranslated name used for identifying this widget. | |
virtual QWidget * | widget () const =0 |
Should return the UI for the library view. | |
virtual QFrame * | header () const =0 |
this is a frame at the top left of the container where the combo box will be located | |
virtual QIcon | icon () const =0 |
Every library should show a icon in the combo box. | |
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 HistoryContainer, EmptyLibraryContainer, LocalLibraryContainer, SomaFM::LibraryContainer, and SC::LibraryContainer.
|
pure virtualinherited |
this is a frame at the top left of the container where the combo box will be located
Implemented in HistoryContainer, EmptyLibraryContainer, LocalLibraryContainer, SomaFM::LibraryContainer, and SC::LibraryContainer.
|
pure virtualinherited |
Every library should show a icon in the combo box.
Implemented in HistoryContainer, EmptyLibraryContainer, LocalLibraryContainer, SomaFM::LibraryContainer, and SC::LibraryContainer.
|
overridevirtual |
init
Implements Library::AbstractContainer.
|
protectedpure virtual |
Should initialize the ui. The ui constructor should be called within this function.
Implemented in HistoryContainer, EmptyLibraryContainer, LocalLibraryContainer, SomaFM::LibraryContainer, and SC::LibraryContainer.
|
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 EmptyLibraryContainer, LocalLibraryContainer, SomaFM::LibraryContainer, and SC::LibraryContainer.
|
pure virtualinherited |
Should return an untranslated name used for identifying this widget.
Implemented in HistoryContainer, EmptyLibraryContainer, LocalLibraryContainer, SomaFM::LibraryContainer, and SC::LibraryContainer.
|
overridevirtual |
Implements Library::AbstractContainer.
|
pure virtualinherited |
Should return the UI for the library view.
Implemented in HistoryContainer, EmptyLibraryContainer, LocalLibraryContainer, SomaFM::LibraryContainer, and SC::LibraryContainer.