custom widget browsers, Add Applet dialog

Aaron J. Seigo aseigo at kde.org
Tue Oct 14 01:46:04 CEST 2008


hi all..

i've made it possible to add a custom widget browser to the Add Applet dialog 
via a PackageStructure plugin. this should allow things to happen like the 
Google Gadgets to launch the browser dialog for the GG store or whatever.

How It Works
------------------
In the package structure's .desktop file, put an entry like this:

	X-Plasma-ProvidesWidgetBrowser=true

In the PackageStructure, reimplement:

	 void createNewWidgetBrowser(QWidget *parent = 0); 

and emit:
	 newWidgetBrowserFinished()

when it is finished.

that's it.

-- 
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/20081013/dc6da786/attachment-0001.sig 


More information about the Plasma-devel mailing list