aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/kdenotify.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-10-29 09:43:25 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2009-10-29 09:43:25 +0000
commit6f72ae7e3e61b330dd1874a951b258075649fe8e (patch)
treec911ac5434ab5cb258328037590e78af3ca92361 /src/plugins/General/kdenotify/kdenotify.h
parent81a8ff3c3605ddcd22f2e6400e5a7a3e2f330f43 (diff)
downloadqmmp-6f72ae7e3e61b330dd1874a951b258075649fe8e.tar.gz
qmmp-6f72ae7e3e61b330dd1874a951b258075649fe8e.tar.bz2
qmmp-6f72ae7e3e61b330dd1874a951b258075649fe8e.zip
added kde notifications plugin (author: Artur Guzik) (Closes issue 164)
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1337 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotify.h')
-rw-r--r--src/plugins/General/kdenotify/kdenotify.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/plugins/General/kdenotify/kdenotify.h b/src/plugins/General/kdenotify/kdenotify.h
new file mode 100644
index 000000000..61309614c
--- /dev/null
+++ b/src/plugins/General/kdenotify/kdenotify.h
@@ -0,0 +1,27 @@
+#ifndef KDENOTIFY_H
+#define KDENOTIFY_H
+
+#include "qmmpui/general.h"
+#include "qmmp/qmmp.h"
+
+class QDBusInterface;
+
+class KdeNotify : public General
+{
+ Q_OBJECT;
+public:
+ KdeNotify(QObject *parent = 0);
+ ~KdeNotify();
+
+private:
+ QDBusInterface *notifier;
+ int m_NotifyDelay;
+
+private slots:
+ void showMetaData();
+ QString totalTimeString();
+
+
+};
+
+#endif // KDENOTIFY_H