 |
Sayonara Player
|
21 #ifndef LOCALLIBRARYCONTAINER_H
22 #define LOCALLIBRARYCONTAINER_H
24 #include "Gui/Library/LibraryContainer.h"
25 #include "Utils/Pimpl.h"
47 QString
name()
const override;
52 QPixmap
icon()
const override;
55 void rename(
const QString& new_name)
override;
58 #endif // LOCALLIBRARYCONTAINER_H
void initUi() override
Should initialize the ui. The ui constructor should be called within this function.
The LocalLibraryContainer class.
Definition: LocalLibraryContainer.h:38
QString name() const override
Should return an untranslated name used for identifying this widget.
bool isLocal() const override
a local library is a library which writes to the library field of the database. This should be false ...
QFrame * header() const override
this is a frame at the top left of the container where the combo box will be located
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31
QPixmap icon() const override
Every library should show a icon in the combo box.
Definition: LibraryContainer.h:40
The Info class.
Definition: LibraryInfo.h:37
QString displayName() const override
Should return the translated name displayed in the library view combobox.
QMenu * menu() override
return actions menu (may be nullptr). The title does not have to be set
QWidget * widget() const override
Should return the UI for the library view.