aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/General/kdenotify/kdenotify.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-20 07:22:50 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2010-03-20 07:22:50 +0000
commit2eff41971d3776c7c4ac1ea9fa9a6f5a4f1513ab (patch)
tree82cb2228dd4aa5f9cdc0985ad5d6c6a7ce5947f6 /src/plugins/General/kdenotify/kdenotify.h
parentbfe01d737226a5034010bc3db19b99c46d062387 (diff)
downloadqmmp-2eff41971d3776c7c4ac1ea9fa9a6f5a4f1513ab.tar.gz
qmmp-2eff41971d3776c7c4ac1ea9fa9a6f5a4f1513ab.tar.bz2
qmmp-2eff41971d3776c7c4ac1ea9fa9a6f5a4f1513ab.zip
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
Diffstat (limited to 'src/plugins/General/kdenotify/kdenotify.h')
-rw-r--r--src/plugins/General/kdenotify/kdenotify.h6
1 files changed, 4 insertions, 2 deletions
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 "<b>%if(%t,%t,%f)</b>\n%if(%p,<br>%p,)\n%if(%a,<br>%a,)\n%if(%l,<br><b>%l</b>,)"
+
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