[Kde-pim] Accessing the addressbook from C++

Bertjan Broeksema b.broeksema at home.nl
Thu Jul 31 13:30:08 BST 2008


Hi Christoph,

On Thursday 31 July 2008 14:17:04 Christoph Kies wrote:
> Am Donnerstag, 31. Juli 2008 13:41:24 schrieb Kevin Krammer:
<snip>
> How should i "get" such an KInstance?

You should initialize such an object before starting with the addres book 
stuff. An easy way to do is before doing anything else in your main to 
initialize an KApplication object.

See: 
http://api.kde.org/3.5-api/kdelibs-apidocs/kdecore/html/classKApplication.html

good luck!

Bertjan




_______________________________________________
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