From 2eff41971d3776c7c4ac1ea9fa9a6f5a4f1513ab Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Sat, 20 Mar 2010 07:22:50 +0000 Subject: improved kde4 notification (added embedded covers support and templates) git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1634 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/General/kdenotify/kdenotify.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/plugins/General/kdenotify/kdenotify.h') diff --git a/src/plugins/General/kdenotify/kdenotify.h b/src/plugins/General/kdenotify/kdenotify.h index 58317d61d..e928c27ab 100644 --- a/src/plugins/General/kdenotify/kdenotify.h +++ b/src/plugins/General/kdenotify/kdenotify.h @@ -27,6 +27,8 @@ #include "qmmpui/general.h" #include "qmmp/qmmp.h" +#define DEFAULT_TEMPLATE "%if(%t,%t,%f)\n%if(%p,
%p,)\n%if(%a,
%a,)\n%if(%l,
%l,)" + class QDBusInterface; class KdeNotify : public General @@ -43,11 +45,11 @@ private: int m_NotifyDelay; bool m_ShowCovers; bool m_UseFreedesktopSpec; + QString m_template; + private slots: void showMetaData(); QString totalTimeString(); - - }; #endif // KDENOTIFY_H -- cgit v1.2.3-13-gbd6f