Singletonify XMMSHandler and kick out everything not XMMSisch from the class.

A class that needs to talk to xmms2 now calls XMMSHandler::getInstance()
and all communication is handled by signals'n'slots.
This commit is contained in:
Daniel Svensson 2006-02-26 19:16:43 +01:00
parent 56dd4cf3ee
commit 787a5c7b5b
10 changed files with 150 additions and 85 deletions

View file

@ -11,6 +11,7 @@ class ShadedDisplay;
class ShadedDisplay : public SkinDisplay
{
Q_OBJECT
public:
ShadedDisplay (QWidget *parent);
~ShadedDisplay () { }
@ -27,6 +28,10 @@ class ShadedDisplay : public SkinDisplay
Button *m_next;
Button *m_eject;
public slots:
void setStatus (uint status);
void setPlaytime (uint time);
};
#endif