1#ifndef CONTAINERINTERFACE_H
2#define CONTAINERINTERFACE_H
28 virtual QString
name()
const=0;
30 virtual void rename(
const QString& newName)=0;
62 virtual QIcon
icon()
const=0;
This container is only used internally to avoid Ui dependencies in the Components....
Definition: AbstractLibraryContainer.h:20
virtual QMenu * menu()=0
return actions menu (may be nullptr). The title does not have to be set
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 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 QString displayName() const =0
Should return the translated name displayed in the library view combobox.
virtual void init()=0
init
virtual QString name() const =0
Should return an untranslated name used for identifying this widget.
virtual QIcon icon() const =0
Every library should show a icon in the combo box.
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:31