[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:04:23 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=f59dd50
The following commit has been merged in the master branch:
commit f59dd5083ebd8ad847ec41f17fe5ce59a8e0d4f3
Author: George Goldberg <grundleborg at googlemail.com>
Date: Sat Jun 20 20:39:59 2009 +0000
Start to implement checking if the Telepathy Account is already in nepomuk or not.
svn path=/trunk/playground/network/telepathy-integration-daemon/; revision=984491
---
kpeople/nepomuk-feeder/telepathyaccount.cpp | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/kpeople/nepomuk-feeder/telepathyaccount.cpp b/kpeople/nepomuk-feeder/telepathyaccount.cpp
index 1a46b2d..6948547 100644
--- a/kpeople/nepomuk-feeder/telepathyaccount.cpp
+++ b/kpeople/nepomuk-feeder/telepathyaccount.cpp
@@ -20,6 +20,7 @@
#include "telepathyaccount.h"
+#include "nco.h"
#include "pimo.h"
#include <Nepomuk/Thing>
@@ -47,5 +48,14 @@ void TelepathyAccount::doNepomukSetup()
// The PIMO:Person representing "me" does not exist, so we need to create it.
me.addType(Nepomuk::Vocabulary::PIMO::Person());
}
+
+ // Loop through all the grounding instances of this person
+ Q_FOREACH (Nepomuk::Resource resource, me.groundingOccurrences()) {
+ // See if this grounding instance is of type nco:contact.
+ if (resource.hasType(Nepomuk::Vocabulary::NCO::Contact())) {
+ // we have an NCO:Contact. See if it is for this Telepathy Account.
+ // TODO: Implement me!
+ }
+ }
}
--
ktp-common-internals packaging
More information about the pkg-kde-commits
mailing list