Plugins: Use Qt plugin art. or XML?
Aaron J. Seigo
aseigo at kde.org
Wed Jul 16 18:38:42 CEST 2008
On Tuesday 15 July 2008, Kelly Miller wrote:
> Well, I went through the API, but I can't seem to locate the info I need to
> use the plugin system, and the tutorial's incomplete.
you can look at how we do it with Applet or DataEngine. there are 3 pieces:
* the service definition (look in workspace/libs/plasma/servicetypes/ for
examples of that)
* the plugin loader hook (look for K_EXPORT_PLASMA_APPLET at the bottom of
applet.h)
* loading the plugin via KServiceTypeTrader (look at Applet::load in
applet.cpp)
--
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 Trolltech
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080716/aa7e83d3/attachment.pgp
More information about the Panel-devel
mailing list