[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: Cornelius Schumacher <schumacher () kde ! org>
Date: 2002-11-07 21:27:39
[Download RAW message or body]
On Tuesday 05 November 2002 19:58, Bert Speckels wrote:
>
> The following source won't work cause the UID changes in between :-(
>
> addrBook = KABC::StdAddressBook::self();
>
> Addressee addr;
> addrBook->insertAddressee(addr);
> addrBook->save();
> KRun::runCommand("kaddressbook --editor-only --uid "+ addr->uid() );
>
> Any hints?
This code will not compile, because KABC::AddressBook which is returned
by KABC::StdAddressBook::self() doesn't have a save() function. Perhaps
you should tell us what you really have done ;-)
--
Cornelius Schumacher <schumacher@kde.org>
_______________________________________________
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