 |
Sayonara Player
|
21 #ifndef GUI_TRAYICON_H
22 #define GUI_TRAYICON_H
24 #include "Interfaces/Notification/NotificationHandler.h"
25 #include "Components/PlayManager/PlayState.h"
27 #include "Gui/Utils/Widgets/WidgetTemplate.h"
28 #include "Utils/Pimpl.h"
30 #include <QSystemTrayIcon>
45 void sigShowClicked();
46 void sigCloseClicked();
53 void setForwardEnabled(
bool b);
54 void setDisplayNames();
58 void muteChanged(
bool muted);
61 void currentSongClicked();
64 void languageChanged()
override;
65 void skinChanged()
override;
73 public QSystemTrayIcon,
85 void sigHideClicked();
86 void sigCloseClicked();
87 void sigShowClicked();
93 bool event(QEvent* e)
override;
94 [[maybe_unused]]
void setForwardEnabled(
bool b);
97 void notify(
const QString& title,
const QString& message,
const QString& image_path)
override;
99 QString
name()
const override;
100 QString displayName()
const override;
103 void initContextMenu();
107 void showTrayIconChanged();
110 void languageChanged();
PlayState
The PlayState enum.
Definition: PlayState.h:29
void notify(const MetaData &md) override
notify when Metadata has been changed
Definition: NotificationInterface.h:31
void sigWheelChanged(int delta)
void notify(const QString &title, const QString &message, const QString &image_path) override
show standard notification
QString name() const override
get name of notification interface
Definition: GUI_TrayIcon.h:75