 |
Sayonara Player
|
1 #ifndef CONTAINERINTERFACE_H
2 #define CONTAINERINTERFACE_H
28 virtual QString
name()
const=0;
30 virtual void rename(
const QString& newName)=0;
62 virtual QPixmap
icon()
const=0;
82 #endif // CONTAINERINTERFACE_H
virtual QPixmap icon() const =0
Every library should show a icon in the combo box.
virtual bool isLocal() const =0
a local library is a library which writes to the library field of the database. This should be false ...
virtual void init()=0
init
virtual QMenu * menu()=0
return actions menu (may be nullptr). The title does not have to be set
virtual QWidget * widget() const =0
Should return the UI for the library view.
This container is only used internally to avoid Ui dependencies in the Components....
Definition: AbstractLibraryContainer.h:20
virtual QString displayName() const =0
Should return the translated name displayed in the library view combobox.
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31
virtual QFrame * header() const =0
this is a frame at the top left of the container where the combo box will be located
virtual QString name() const =0
Should return an untranslated name used for identifying this widget.