23 #ifndef GUI_SOUNDCLOUDLIBRARY_H
24 #define GUI_SOUNDCLOUDLIBRARY_H
26 #include "ui_GUI_SoundcloudLibrary.h"
28 #include "GUI/Library/GUI_AbstractLibrary.h"
29 #include "Interfaces/LibraryInterface/LibraryContainer/LibraryContainer.h"
31 #include "src/SoundcloudLibrary.h"
32 #include "ui/GUI_SoundcloudArtistSearch.h"
45 QComboBox* get_libchooser()
const;
46 QMenu* get_menu()
const;
50 virtual Library::TrackDeletionMode show_delete_dialog(
int n_tracks);
51 virtual void init_shortcuts()
override;
54 void btn_add_clicked();
59 QMenu* _library_menu=
nullptr;
69 Q_PLUGIN_METADATA(IID
"com.sayonara-player.soundcloud_library")
84 QWidget*
get_ui() const override;
92 #endif // GUI_SOUNDCLOUDLIBRARY_H
Definition: SoundcloudLibrary.h:29
Definition: GUI_SoundcloudArtistSearch.h:34
Definition: ui_GUI_SoundcloudLibrary.h:284
void init_ui() override
Should initialize the ui. The ui constructor should be called within this function.
QString get_name() const override
Should return an untranslated name used for identifying this widget.
QMenu * get_menu() override
return actions menu (may be nullptr). The title does not have to be set
Definition: GUI_SoundcloudLibrary.h:34
An interface class needed when implementing a library plugin.
Definition: LibraryContainer.h:42
Definition: GUI_AbstractLibrary.h:57
Definition: SoundcloudLibraryContainer.h:29
QString get_display_name() const override
Should return the translated name displayed in the library view combobox.
QIcon get_icon() const override
Should return the icon displayed in the library view combobox.
QComboBox * get_libchooser() override
Should return the library chooser combo box.
QWidget * get_ui() const override
Should return the UI for the library view.