Plasma::Package::registerPackage stops working?

Marco Martin notmart at gmail.com
Wed Jul 22 10:11:52 CEST 2009


On Wednesday 22 July 2009, Dong Tiger wrote:
> Hi,
>
> I found I can't add Google Gadget into plasma any more.  Google Gadget in
> plasma uses Plasma::Package::registerPackage to add gadgets into plasma. It
> used to work.
>
> I saw there is another method installPackage in Plasma::Package. Should it
> be used instead of registerPackage? One more thing I am confused is I added
> breakpoints for both methods but adding a plasma widget doesn't trigger
> either.
>
> Any one can clarify me on this? Thanks in advance!

now i'm not really sure about the package handling classes, so i can't say 
exactly why two really similar registerpackage and installpackage exist.
but installpackage is used by openwidgetassistant.cpp in te applet browser so 
that one should work?

> --
> Tiger


-- 
Marco Martin


More information about the Plasma-devel mailing list