21 #ifndef LOCALLIBRARYMENU_H 22 #define LOCALLIBRARYMENU_H 24 #include "Gui/Utils/Widgets/WidgetTemplate.h" 25 #include "Gui/Utils/Shortcuts/ShortcutIdentifier.h" 26 #include "Utils/Pimpl.h" 33 class PreferenceAction;
50 void sig_reload_library();
51 void sig_import_file();
52 void sig_import_folder();
55 void sig_name_changed(
const QString& name);
56 void sig_path_changed(
const QString& path);
59 explicit LocalLibraryMenu(
const QString& name,
const QString& path, QWidget* parent=
nullptr);
62 void refresh_name(
const QString& name);
63 void refresh_path(
const QString& path);
65 void set_show_album_covers_checked(
bool checked);
66 void set_library_busy(
bool b);
73 void language_changed()
override;
74 void skin_changed()
override;
75 void shortcut_changed(ShortcutIdentifier identifier);
78 void show_album_covers_changed();
79 void show_album_covers_triggered(
bool b);
81 void show_album_artists_changed();
82 void show_album_artists_triggered(
bool b);
84 void realtime_search_changed();
85 void realtime_search_triggered(
bool b);
92 #endif // LOCALLIBRARYMENU_H
A PreferenceAction can be added to each widget supporting QActions. When triggering this action,...
Definition: PreferenceAction.h:38
An interface class needed when implementing a library plugin.
Definition: LocalLibraryWatcher.h:32