[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] sync and id's for messages
From:       Tobias Koenig <tokoe () kde ! org>
Date:       2003-08-06 14:32:52
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wed, Aug 06, 2003 at 12:21:47PM +0200, Norman Urs Baier wrote:
Hi Norman,

> I've seen that it is very crucial for a good sync, that the addressee has a
> good ID. First I had forgotten to add an ID and then the entrys just got 
> multiplied after multiple sync's. Then I've added as ID simply the formatted 
> name, now entrys don't get multiplied.
I wouldn't do that. You can't imagine how fast such a duplicated
formatted name will appear in a real production environment.

> Now my question: What is a good ID? What do Qtopia and kaddressbook use? 
Whenever you create a new Addressee object the uid is initialized
automatically by a random, 10 character long string.
If you want to do the initialization manually, use
  KApplication::randomString( 10 )

Ciao,
Tobias
-- 
Can a government that shoots at reporters be democratic?
Separate politics from religion and economy!

[Attachment #5 (application/pgp-signature)]

_______________________________________________
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