[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:22:42 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=f737557

The following commit has been merged in the master branch:
commit f7375578c607dae909bcd1fb137e992c5a5393a9
Author: Daniele E. Domenichelli <daniele.domenichelli at gmail.com>
Date:   Fri Aug 31 12:29:53 2012 +0200

    Add required{Scripts,Stylesheest} methods to AbstractMessageFilter
---
 lib/abstract-message-filter.cpp | 10 ++++++++++
 lib/abstract-message-filter.h   |  6 ++++++
 2 files changed, 16 insertions(+)

diff --git a/lib/abstract-message-filter.cpp b/lib/abstract-message-filter.cpp
index 0cb0dc7..798d33d 100644
--- a/lib/abstract-message-filter.cpp
+++ b/lib/abstract-message-filter.cpp
@@ -40,3 +40,13 @@ void AbstractMessageFilter::filterOutgoingMessage(Message &message)
 void AbstractMessageFilter::filterMessage(Message &message)
 {
 }
+
+QStringList AbstractMessageFilter::requiredScripts()
+{
+    return QStringList();
+}
+
+QStringList AbstractMessageFilter::requiredStylesheets()
+{
+    return QStringList();
+}
diff --git a/lib/abstract-message-filter.h b/lib/abstract-message-filter.h
index 9e895c5..2b159de 100644
--- a/lib/abstract-message-filter.h
+++ b/lib/abstract-message-filter.h
@@ -39,6 +39,12 @@ public:
 
     /** Filter messages in either direction. Base implementation calls this for messages sent/recived in either direction.*/
     virtual void filterMessage(Message &message);
+
+    /** Scripts that must be included in the <head> section of the html required by this message filter.*/
+    virtual QStringList requiredScripts();
+
+    /** Scripts that must be included in the <head> section of the html required by this message filter.*/
+    virtual QStringList requiredStylesheets();
 };
 
 #endif // ABSTRACTPLUGIN_H

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list