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


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

The following commit has been merged in the master branch:
commit f97cd4c1f0aa6ee5c63c4a8f70ad6d519be71b6b
Author: David Edmundson <kde at davidedmundson.co.uk>
Date:   Mon Jul 1 16:00:19 2013 +0100

    Update to compile with libkpeople
---
 kpeople/CMakeLists.txt                           | 2 ++
 kpeople/actionsplugin/kpeople-actions-plugin.cpp | 2 +-
 kpeople/actionsplugin/kpeople-actions-plugin.h   | 4 +---
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/kpeople/CMakeLists.txt b/kpeople/CMakeLists.txt
new file mode 100644
index 0000000..10c3758
--- /dev/null
+++ b/kpeople/CMakeLists.txt
@@ -0,0 +1,2 @@
+add_subdirectory(actionsplugin)
+add_subdirectory(datasourceplugin)
diff --git a/kpeople/actionsplugin/kpeople-actions-plugin.cpp b/kpeople/actionsplugin/kpeople-actions-plugin.cpp
index 9bbaa9e..1e9ebc6 100644
--- a/kpeople/actionsplugin/kpeople-actions-plugin.cpp
+++ b/kpeople/actionsplugin/kpeople-actions-plugin.cpp
@@ -88,7 +88,7 @@ AbstractPersonPlugin(parent)
 {
 }
 
-QList<QAction*> KPeopleActionsPlugin::actionsForPerson(KPeople::PersonData *personData, QObject *parent)
+QList<QAction*> KPeopleActionsPlugin::actionsForPerson(const KPeople::PersonDataPtr &personData, QObject *parent)
 {
     QList<QAction*> actions;
 
diff --git a/kpeople/actionsplugin/kpeople-actions-plugin.h b/kpeople/actionsplugin/kpeople-actions-plugin.h
index 66a54c7..4169dc0 100644
--- a/kpeople/actionsplugin/kpeople-actions-plugin.h
+++ b/kpeople/actionsplugin/kpeople-actions-plugin.h
@@ -21,14 +21,12 @@
 
 #include <KPeople/AbstractPersonPlugin>
 
-class PersonData;
-
 class KPeopleActionsPlugin : public KPeople::AbstractPersonPlugin
 {
     Q_OBJECT
 public:
     KPeopleActionsPlugin(QObject *parent, const QVariantList &args);
-    virtual QList<QAction*> actionsForPerson(KPeople::PersonData *personData, QObject *parent);
+    virtual QList<QAction*> actionsForPerson(const KPeople::PersonDataPtr &personData, QObject *parent);
 
 private Q_SLOTS:
     void onActionTriggered();

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list