aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/mpris/rootobject.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-25 22:24:48 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2008-11-25 22:24:48 +0000
commitc55ed6ab2a2839be7f4bbd490268948d103d8a4a (patch)
tree8636626395b4e5fc5b06b54e906f44c8b03b8fb5 /src/plugins/General/mpris/rootobject.h
parentb232de14d10f6c09c7c15410fa468054695baaa6 (diff)
downloadqmmp-c55ed6ab2a2839be7f4bbd490268948d103d8a4a.tar.gz
qmmp-c55ed6ab2a2839be7f4bbd490268948d103d8a4a.tar.bz2
qmmp-c55ed6ab2a2839be7f4bbd490268948d103d8a4a.zip
some mpris plugin improvements
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@638 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/mpris/rootobject.h')
-rw-r--r--src/plugins/General/mpris/rootobject.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/plugins/General/mpris/rootobject.h b/src/plugins/General/mpris/rootobject.h
index 1bae78e4c..378d9f51a 100644
--- a/src/plugins/General/mpris/rootobject.h
+++ b/src/plugins/General/mpris/rootobject.h
@@ -20,8 +20,8 @@
#ifndef ROOTOBJECT_H
#define ROOTOBJECT_H
-#include <QDBusAbstractAdaptor>
-#include <QString>
+#include <QObject>
+#include <QVariantMap>
/**
@author Ilya Kotov <forkotov02@hotmail.ru>
@@ -34,7 +34,9 @@ struct Version
quint16 minor;
};
-class RootObject : public QDBusAbstractAdaptor
+Q_DECLARE_METATYPE(Version);
+
+class RootObject : public QObject
{
Q_OBJECT
Q_CLASSINFO("D-Bus Interface", "org.freedesktop.MediaPlayer")