[Kde-pim] Accessing the addressbook from C++
Christoph Kies
mail at ckies.de
Thu Jul 31 13:17:04 BST 2008
Am Donnerstag, 31. Juli 2008 13:41:24 schrieb Kevin Krammer:
> [...]
> > But KABC::StdAddressBook::save(ticket) does not exist.
>
> It does, it is inherited from the base class KABC::AddressBook
But you can not call KABC::AddressBook::save(* Ticket) with
KABC::StdAddressBook::save(ticket) in the example, cause this calls explicit
an derived method which does not exist. But I think i understand now what was
intended and changed the code to:
//KABC::StdAddressBook::save( ticket );
ab->save( ticket);
> [...]
> You (or rather KABC code internally) probably need a KInstance instance,
> e.g. a KApplication object.
> [...]
How should i "get" such an KInstance?
thanks
Christoph
_______________________________________________
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