[Kde-pim] Akonadi collections

Robin Atwood robin at binro.org
Sat Sep 11 16:43:25 BST 2010


> Thanks again Kevin, you are a mine of information! I have already found
> unnerving references to something called SPARQL! Onwards and upwards...

I will change the subject since I can now find all the apidocs. My app is 
launched when someone clicks on a phone number in the right-hand pane of the 
address book. I now want to match the number to an addressee to get their 
name, etc. I don't have a url so I can't use Item::fromUrl() but I could fetch 
the whole collection and search through it. But how do I know which is the 
current collection in use? Formerly I obtained this from 
StdAddressBook::self(), so what is the Akonadi equivalent? I guess it's not 
Akonadi::Collection::root().

TIA
-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