promoe/PlayStatus.h
Daniel Svensson 787a5c7b5b 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.
2006-02-26 19:16:43 +01:00

27 lines
406 B
C++

#ifndef __PLAYSTATUS_H__
#define __PLAYSTATUS_H__
#include "XMMSHandler.h"
#include "PixWidget.h"
class PlayStatus : public PixWidget
{
Q_OBJECT
public:
PlayStatus (QWidget *parent);
~PlayStatus () { }
public slots:
void setPixmaps (Skin *skin);
void setStatus (uint status);
private:
int m_status;
QPixmap m_pixmap_stop;
QPixmap m_pixmap_play;
QPixmap m_pixmap_pause;
};
#endif