[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:12 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=edee793
The following commit has been merged in the master branch:
commit edee79349e71875f36e2cc77083fedaba0b2d2e7
Author: George Goldberg <grundleborg at googlemail.com>
Date: Sun Sep 19 17:38:20 2010 +0000
Make a PIMO:Person for all new contacts.
svn path=/trunk/playground/network/telepathy-integration-daemon/; revision=1177187
---
kpeople/nepomuk-feeder/telepathycontact.cpp | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/kpeople/nepomuk-feeder/telepathycontact.cpp b/kpeople/nepomuk-feeder/telepathycontact.cpp
index b8b9eb8..e4dd700 100644
--- a/kpeople/nepomuk-feeder/telepathycontact.cpp
+++ b/kpeople/nepomuk-feeder/telepathycontact.cpp
@@ -28,6 +28,7 @@
// Ontology Vocabularies
#include "nco.h"
+#include "pimo.h"
#include "telepathy.h"
// Full Resource Classes
@@ -38,6 +39,7 @@
#include <KDebug>
#include <Nepomuk/ResourceManager>
+#include <Nepomuk/Thing>
#include <Nepomuk/Variant>
#include <Nepomuk/Query/Query>
@@ -218,6 +220,10 @@ void TelepathyContact::doNepomukSetup()
m_contactPersonContactResource.addProperty(Nepomuk::Vocabulary::NCO::hasIMAccount(),
m_contactIMAccountResource);
// FIXME: Store any other relevant Contact properties to Nepomuk.
+ // Create a PIMO Person for the new contact.
+ Nepomuk::Thing pimoPerson;
+ pimoPerson.addType(Nepomuk::Vocabulary::PIMO::Person());
+ pimoPerson.addGroundingOccurrence(m_contactPersonContactResource);
}
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list