Added start of new Medialib view

This commit is contained in:
Tobias Rundstrom 2006-08-17 19:23:57 -04:00
parent 219327ca20
commit d114edf75f
12 changed files with 194 additions and 27 deletions

View file

@ -4,16 +4,16 @@
#include <xmmsclient/xmmsclient++.h>
#include "XmmsQT4.h"
#include "XMMSSocket.h"
#include <QObject>
#include <QHash>
#include <QTimer>
class XMMSHandler : public QObject {
class XMMSHandler : public QObject, XMMSSocket {
Q_OBJECT
public:
static XMMSHandler &getInstance ();
~XMMSHandler ();
bool connect (const char *path);
@ -76,11 +76,10 @@ class XMMSHandler : public QObject {
void getVolume (uint);
private:
Xmms::Client m_client;
QTimer m_playtime_timer;
XMMSHandler ();
~XMMSHandler () {};
void DictToQHash (const std::string &key,
const Xmms::Dict::Variant &value,
QHash<QString, QString> &hash);