[Kde-pim] Where is KDEPIM apidoc?
Robin Atwood
robin at binro.org
Sat Sep 11 12:15:22 BST 2010
On Saturday 11 September 2010, Kevin Krammer wrote:
> On Saturday, 2010-09-11, Robin Atwood wrote:
> > On Saturday 11 September 2010, you wrote:
> > > Now I just have a phonenumber to find the Addressee and from the
> > > porting guide would seem to need a ContactSearchJob. However, this
> > > seems to have disappeared, so what's the current equivalent?
> >
> > Ah, my bad, I have located the doco, eyes need testing. ContactSearchJob
> > doesn't have a phone number criterion though. Looks like I might have to
> > fetch the whole address book and search myself.
>
> I am really not the most knowledgable person for this (searching), but I
> think you can use the base search job (Akonadi::ItemSearchJob) and build
> your own query using the Nepomuk Query API [1], [2].
>
> Unfortunately I have no idea if or where the Vocabulary namespaces are
> documented, you would probably have to look at the code for that.
>
> Cheers,
> Kevin
>
>
> [1] http://api.kde.org/4.x-api/kdelibs-
> apidocs/nepomuk/html/namespaceNepomuk_1_1Query.html
>
> [2]
> http://techbase.kde.org/Development/Tutorials/Metadata/Nepomuk/NepomukQuery
Thanks again Kevin, you are a mine of information! I have already found
unnerving references to something called SPARQL! Onwards and upwards...
-Robin
--
----------------------------------------------------------------------
Robin Atwood.
"Ship me somewheres east of Suez, where the best is like the worst,
Where there ain't no Ten Commandments an' a man can raise a thirst"
from "Mandalay" by Rudyard Kipling
----------------------------------------------------------------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list