<div dir="ltr">Cool! Thanks Aaron.<div><br></div><div>--</div><div>Tiger<br><div><br><div class="gmail_quote">2008/10/14 Aaron J. Seigo <span dir="ltr">&lt;<a href="mailto:aseigo@kde.org">aseigo@kde.org</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
hi all..<br>
<br>
i&#39;ve made it possible to add a custom widget browser to the Add Applet dialog<br>
via a PackageStructure plugin. this should allow things to happen like the<br>
Google Gadgets to launch the browser dialog for the GG store or whatever.<br>
<br>
How It Works<br>
------------------<br>
In the package structure&#39;s .desktop file, put an entry like this:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;X-Plasma-ProvidesWidgetBrowser=true<br>
<br>
In the PackageStructure, reimplement:<br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp; void createNewWidgetBrowser(QWidget *parent = 0);<br>
<br>
and emit:<br>
 &nbsp; &nbsp; &nbsp; &nbsp; newWidgetBrowserFinished()<br>
<br>
when it is finished.<br>
<br>
that&#39;s it.<br>
<font color="#888888"><br>
--<br>
Aaron J. Seigo<br>
humru othro a kohnu se<br>
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA &nbsp;EE75 D6B7 2EB1 A7F1 DB43<br>
<br>
KDE core developer sponsored by Qt Software<br>
<br>
</font></blockquote></div><br></div></div></div>