diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-24 21:54:59 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2008-11-24 21:54:59 +0000 |
| commit | a9946929bc45b96acd171a8137600277d122ccd9 (patch) | |
| tree | 5e675c6dbc697ac80ed3920c768c7fd6c328df0f /src/plugins/General/statusicon/statusicon.h | |
| parent | 52cdbf3b10333908693f21a7c04ff7983baf923e (diff) | |
| download | qmmp-a9946929bc45b96acd171a8137600277d122ccd9.tar.gz qmmp-a9946929bc45b96acd171a8137600277d122ccd9.tar.bz2 qmmp-a9946929bc45b96acd171a8137600277d122ccd9.zip | |
general api cleanup
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@631 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/statusicon/statusicon.h')
| -rw-r--r-- | src/plugins/General/statusicon/statusicon.h | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/plugins/General/statusicon/statusicon.h b/src/plugins/General/statusicon/statusicon.h index b6d8a3e04..be65500f4 100644 --- a/src/plugins/General/statusicon/statusicon.h +++ b/src/plugins/General/statusicon/statusicon.h @@ -21,10 +21,12 @@ #define STATUSICON_H #include <QSystemTrayIcon> +#include <QMap> #include <qmmpui/general.h> +#include <qmmp/qmmp.h> -class Control; +class SoundCore; /** @author Ilya Kotov <forkotov02@hotmail.ru> @@ -34,14 +36,13 @@ class StatusIcon : public General { Q_OBJECT public: - StatusIcon(Control *control, QObject *parent = 0); + StatusIcon(QObject *parent = 0); ~StatusIcon(); - void setState(const uint& state); - void setSongInfo(const SongInfo &song); - private slots: + void showMetaData(); + void setState(Qmmp::State state); void trayActivated(QSystemTrayIcon::ActivationReason); void enable(); @@ -52,9 +53,7 @@ private: bool m_hideToTray; bool m_enabled; int m_messageDelay; - Control *m_control; - uint m_state; - + SoundCore *m_core; }; #endif |
