diff options
author | Arno <arno@disconnect.de> | 2017-03-08 13:37:16 +0100 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2017-03-08 13:37:16 +0100 |
commit | df755a13817da13b665e687a46194c7ef9392bf3 (patch) | |
tree | dcd364b28512849bb235810961b44383809349e4 /playerwidget.h | |
parent | 3d60948da05a7f97b11c73e0aa77242502da8586 (diff) | |
download | BeetPlayer-df755a13817da13b665e687a46194c7ef9392bf3.tar.gz BeetPlayer-df755a13817da13b665e687a46194c7ef9392bf3.tar.bz2 BeetPlayer-df755a13817da13b665e687a46194c7ef9392bf3.zip |
Create tray icon with a context menu
Diffstat (limited to 'playerwidget.h')
-rw-r--r-- | playerwidget.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/playerwidget.h b/playerwidget.h index a9259e2..67e89be 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -3,6 +3,7 @@ #include <QWidget> #include <QMediaPlayer> +#include <QIcon> class QStandardItemModel; class QStandardItem; @@ -15,6 +16,7 @@ class QToolBar; class QAction; class BeetPlayerProxy; class BeetView; +class QSystemTrayIcon; class PlayerWidget : public QWidget { Q_OBJECT @@ -107,6 +109,7 @@ class PlayerWidget : public QWidget { quint64 mPlayListLength; QString mCurDir; QString mCurWinTitle; + QSystemTrayIcon *mTrayIcon; }; #endif // PLAYERWIDGET_H |