[Kde-pim] kdepim-runtime/resources/kdeaccounts vs. kdesdk/kdeaccounts-plugin

Kevin Krammer krammer at kde.org
Sun May 20 21:15:46 BST 2012


On Sunday, 2012-05-20, Mark wrote:
> On Sat, May 19, 2012 at 7:07 PM, Volker Krause <vkrause at kde.org> wrote:
> > On Saturday 19 May 2012 04:23:18 Friedrich W. H. Kossebau wrote:
> > > I am curious about the relation between
> > > 
> > >       kdepim-runtime/resources/kdeaccounts *
> > > 
> > > and
> > > 
> > >       kdesdk/kdeaccounts-plugin **.
> > > 
> > > Does the Akonadi-based plugin in kdepim-runtime officially replace the
> > 
> > KABC-
> > 
> > > based plugin in kdesdk?
> > 
> > yes
> > 
> > > * https://projects.kde.org/projects/kde/kdepim-
> > > runtime/repository/revisions/master/show/resources/kdeaccounts
> > > ** http://websvn.kde.org/trunk/KDE/kdesdk/kdeaccounts-plugin/
> > > 
> > > If so, should kdesdk/kdeaccounts-plugin not better be removed to
> > > tags/unmaintained/4?
> > 
> > IMHO yes, actually I somehow thought the old one was gone already.
> > 
> > > Or should kdepim-runtime/resources/kdeaccounts better be moved to
> > > kdesdk/kdeaccounts-plugin?
> > > 
> > > At least to me it looks strange if in the same SC release, like the
> > > next 4.9, there is both a kdeaccounts plugin for Akonadi and still the
> > > old plugin for the deprecated KABC system.
> > > 
> > > I am asking because currently the migration of kdesdk to git is
> > > prepared, and ideally only useful stuff gets the work needed for the
> > > migration.
> > 
> > makes sense, perfect time for droping the old one then
> > 
> > regards,
> > Volker
> > 
> >  A few questions about KDEAccounts...
> 
> 1. Where is the code hidden?

The code for what?

> 2. If this is meant to replace KABC then why is
> https://projects.kde.org/projects/kde/kdepim-runtime/repository/revisions/m
> aster/entry/resources/kdeaccounts/kdeaccountsresource.cpp using
> KABC?

Ah, misunderstanding. KABC::Resource is deprecated and the KDE accounts 
resource in kdepim-runtime is the replacement for the plugin derived from 
KABC::Resource.
Other parts of KABC are still in use, e.g. KABC::Addressee is still the main 
class for handling contact data.

> 3. Where is the API description for KDEAccounts? I can't find anything on
> api.kde.org

It isn't providing any API of itself, it is an implementation of 
Akonadi::ResourceBase [1].

Cheers,
Kevin

[1] http://api.kde.org/4.x-api/kdepimlibs-
apidocs/akonadi/html/classAkonadi_1_1ResourceBase.html
-- 
Kevin Krammer, KDE developer, xdg-utils developer
KDE user support, developer mentoring
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20120520/426a0245/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