From df755a13817da13b665e687a46194c7ef9392bf3 Mon Sep 17 00:00:00 2001 From: Arno Date: Wed, 8 Mar 2017 13:37:16 +0100 Subject: Create tray icon with a context menu --- playerwidget.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'playerwidget.h') diff --git a/playerwidget.h b/playerwidget.h index a9259e2..67e89be 100644 --- a/playerwidget.h +++ b/playerwidget.h @@ -3,6 +3,7 @@ #include #include +#include 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 -- cgit v1.2.3-70-g09d2