21 #ifndef GUI_TRAYICON_H 22 #define GUI_TRAYICON_H 26 #include "Interfaces/Notification/NotificationHandler.h" 27 #include "Components/PlayManager/PlayState.h" 29 #include "Utils/Settings/SayonaraClass.h" 30 #include "Utils/Pimpl.h" 32 #include <QSystemTrayIcon> 42 public QSystemTrayIcon,
54 bool event ( QEvent * e )
override;
55 void set_enable_fwd(
bool);
58 void notify(
const QString &title,
const QString &message,
const QString &image_path)
override;
60 QString
name()
const override;
61 QString display_name()
const override;
70 void sig_hide_clicked();
71 void sig_close_clicked();
72 void sig_show_clicked();
83 void cur_song_clicked();
87 void mute_changed(
bool muted);
88 void _sl_show_tray_icon();
90 void language_changed();
94 void init_context_menu();
Definition: NotificationInterface.h:30
void notify(const MetaData &md) override
notify when Metadata has been changed
Definition: GUI_TrayIcon.h:41
The SayonaraClass class provides access to Settings and notifications.
Definition: SayonaraClass.h:29
PlayState
The PlayState enum.
Definition: PlayState.h:28
QString name() const override
get name of notification interface
void sig_wheel_changed(int delta)