KPackage framework

David Faure faure at kde.org
Mon Dec 22 09:37:37 UTC 2014


On Monday 22 December 2014 10:21:21 Marco Martin wrote:
> On Saturday 20 December 2014, David Faure wrote:
> > > in the branch mart/kpluginmetadata there is an experiment in porting
> > > away
> > > from kservice, tough if i go all the way it should have a complete own
> > > copy of the plugin indexing (and indexing tool) since if it doesn't
> > > depend from kservice it should be completely independent from it
> > 
> > Sounds like depending on kcoreaddons (if the plugin indexing can go there)
> > would be better than duplicating the whole thing.
> 
> the biggest part is there, that is the KPluginMetadata constructor that
> takes a desktop file as argument.
> I'm not sure about writing/reading the cache file (wether is shareable with
> the one of KService library plugins)
> 
> maybe two statics for KPluginMetadata..
> QList<KPluginMetadata> KPluginMetadata::fromIndex(indexPath)
> void KPluginMetadata::createIndex(QList<KPluginMetadata>, indexPath)
> 
> they would just save few lines tough, the rest is different bewteen indexing
> of libraries and packages.

Ah well, if it's mostly different then forget what I said.

-- 
David Faure, faure at kde.org, http://www.davidfaure.fr
Working on KDE Frameworks 5



More information about the Kde-frameworks-devel mailing list