[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:07:56 UTC 2016


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

The following commit has been merged in the master branch:
commit a66a556e88abb7e02abe104cc41b09b8940b2256
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Mon Dec 23 14:43:37 2013 +0100

    Update to set SourceId
---
 KTp/im-persons-data-source.cpp | 5 +++++
 KTp/im-persons-data-source.h   | 3 ++-
 2 files changed, 7 insertions(+), 1 deletion(-)

diff --git a/KTp/im-persons-data-source.cpp b/KTp/im-persons-data-source.cpp
index 13345a6..0beb1d2 100644
--- a/KTp/im-persons-data-source.cpp
+++ b/KTp/im-persons-data-source.cpp
@@ -173,6 +173,11 @@ IMPersonsDataSource::~IMPersonsDataSource()
 {
 }
 
+QString IMPersonsDataSource::sourcePluginId() const
+{
+    return QLatin1String("ktp");
+}
+
 AllContactsMonitor* IMPersonsDataSource::createAllContactsMonitor()
 {
     return new KTpAllContacts();
diff --git a/KTp/im-persons-data-source.h b/KTp/im-persons-data-source.h
index 11780de..c90b026 100644
--- a/KTp/im-persons-data-source.h
+++ b/KTp/im-persons-data-source.h
@@ -31,8 +31,9 @@ class KTP_EXPORT IMPersonsDataSource : public KPeople::BasePersonsDataSource
 public:
     IMPersonsDataSource(QObject *parent, const QVariantList &data);
     virtual ~IMPersonsDataSource();
+    virtual QString sourcePluginId() const;
 
-    virtual AllContactsMonitor* createAllContactsMonitor();
+    virtual KPeople::AllContactsMonitor* createAllContactsMonitor();
 };
 
 #endif // IM_PERSONS_DATA_SOURCE_H

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list