[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:05:31 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=d5103b1

The following commit has been merged in the master branch:
commit d5103b15d79c4730817f7d7801245cca6465b452
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
---
 KTp/abstract-message-filter.cpp | 10 ++++++++++
 KTp/abstract-message-filter.h   |  6 ++++++
 2 files changed, 16 insertions(+)

diff --git a/KTp/abstract-message-filter.cpp b/KTp/abstract-message-filter.cpp
index 0cb0dc7..798d33d 100644
--- a/KTp/abstract-message-filter.cpp
+++ b/KTp/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/KTp/abstract-message-filter.h b/KTp/abstract-message-filter.h
index 9e895c5..2b159de 100644
--- a/KTp/abstract-message-filter.h
+++ b/KTp/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-common-internals packaging



More information about the pkg-kde-commits mailing list