How a script engine knows all plasmoid installed?

Aaron J. Seigo aseigo at kde.org
Thu Jul 23 06:26:37 CEST 2009


On Wednesday 22 July 2009, Dong Tiger wrote:
> I need to know that so one google gadget won't be installed as plasmoid
> twice.

from applet.h (Plasma::Applet):

static KPluginInfo::List listAppletInfo(const QString &category = QString(),
							      const QString &parentApp = QString());

for 4.4, we could add a listAppetInfo(apiName, category, parentApp) method (or 
maybe call itlistPlasmoidInfo with a similar signature??) if that would be 
found helpful 

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Software
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/plasma-devel/attachments/20090722/5ed40f3a/attachment.sig 


More information about the Plasma-devel mailing list