aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/scrobbler/scrobbler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/General/scrobbler/scrobbler.h')
-rw-r--r--src/plugins/General/scrobbler/scrobbler.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/plugins/General/scrobbler/scrobbler.h b/src/plugins/General/scrobbler/scrobbler.h
index 6a6158509..b7f25849f 100644
--- a/src/plugins/General/scrobbler/scrobbler.h
+++ b/src/plugins/General/scrobbler/scrobbler.h
@@ -22,7 +22,6 @@
#include <QHttpResponseHeader>
#include <QMap>
-#include <qmmpui/general.h>
#include <qmmp/qmmp.h>
class QHttp;
@@ -63,11 +62,15 @@ private:
};
-class Scrobbler : public General
+class Scrobbler : public QObject
{
Q_OBJECT
public:
- Scrobbler(QObject *parent = 0);
+ Scrobbler(const QString &url,
+ const QString &login,
+ const QString &passw,
+ const QString &name,
+ QObject *parent = 0);
~Scrobbler();
@@ -100,7 +103,7 @@ private:
int m_notificationid;
QByteArray m_array;
bool m_disabled;
- QString m_server;
+ QString m_server, m_name;
};