Moving KPart args from QStringList to QVariantList

koos vriezen koos.vriezen at gmail.com
Fri Mar 2 20:00:29 GMT 2007


Hi,

2007/3/2, Matt Broadstone <mbroadst at gmail.com>:
>   In plasma we've run into a situation where we'd like to cache the
> KService::Ptr for a given applet in the applet itself, and it seems
> the only way to do this is to pass it along to the applet factory by
> means of args, however args is a QStringList.
>   I was wondering if anyone would be averse to me switching this
> QStringList to a QVariantList so we can pass the ptr in - the change
> should be more or less transparent for current code. The change
> probably qualifies for a bc monday commit so if I get the go ahead I'd
> like to commit the change this monday.

Just a silly suggestion, have you considered to add a small cache on
the client side of the service type lookup?

Koos

> Matt Broadstone
>




More information about the kde-core-devel mailing list