[Kde-pim] Status of kdepimlibs

Tobias Koenig tokoe at kde.org
Tue Mar 27 08:01:46 BST 2007


On Tue, Mar 27, 2007 at 08:00:59AM +0200, Cornelius Schumacher wrote:
> On Tuesday 27 March 2007 00:26, Tobias Koenig wrote:
Morning,

> > We have to find out whether kabc should be converted into a plain
> > container class and data loading/saving is done via khalkhi in akonadi.
> 
> How does khalkhi do data loading and saving?
It doesn't do it at the moment, but it would use libakonadi to
fetch/store the data from the akonadi storage.

> > Any further ideas/suggestions/objections?
> >
> > Plans I've for kabc:
> >   - remove the 'generate code' hack, since we know the requirements of
> >     kabc now, we can generate it ones and check it in
> >       => better svn history and easier to change
> 
> How would the removal of the code generator make kabc easier to change? 
> Changing or adding any data fields to the Addressee class certainly is more 
> easy and less error-prone with the code generator.
Well, code generation is nice when you have to write a lot of code which
often changes, however the code of libkabc hasn't changed for hmm, 3 years or more?
So using code generation seems to be overkill here.

> >   - replace the homebrewn shared data approach with
> > QSharedData/QSharedDataPtr
> 
> What do you mean with "homebrewn shared data approach"?
KShared, in comparison to QSharedData it's just ugly ;)

> >   - clean up API (change it to a container which just stores data)
> 
> What would that exactly mean?
The whole resource handling is removed from kabc and the classes are
just used for storing data during runtime. khalkhi will fill them with
data from akonadi.

> >   - add some helper functions (e.g. normalizePhoneNumber)
> 
> That sounds like a good idea?
                             ^^^ Is this really a question?

Ciao,
Tobias
-- 
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070327/36560ff1/attachment.sig>
-------------- next part --------------
_______________________________________________
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