[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: Re: [Kde-pim] Dev: How to create new entries in the StdAddressbook?
From: Tobias Koenig <tokoe () kde ! org>
Date: 2002-11-06 22:20:15
[Download RAW message or body]
On Wed, Nov 06, 2002 at 09:56:00PM +0100, Bert Speckels wrote:
Hi Bert,
> > Does
> > KABC::StdAddressBook::save();
> > helps?
>
> No :-( Same problem:
Hmm, BTW do you use a current version? Before 2 weeks we had a bug
in libkabc, so the addressbook wasn't saved correctly.
I've tested the following code with current CVS HEAD here and it works
fine.
---------
AddressBook *ab = StdAddressBook::self();
Addressee addr;
addr.setNameFromString("Tobias Koenig");
ab->insertAddressee( addr );
StdAddressBook::save();
---------
Ciao,
Tobias
--
In a world without walls and fences who
needs Windows and Gates???
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic