[Kommander-devel] [PATCH] Enable plugins to register DCOP functions via SpecialInformation interface

Fabian Franz FabianFranz at gmx.de
Thu Nov 9 19:32:16 EST 2006


Okay, here we go.

After I had a look what has to be changed for my old proposal, I directly dumped it as the effort is not worth it.

However I still want to be able to export functions via DCOP from my plugin, so I wrote a patch doing exactly that.

It works as follows. In your plugin do:

SpecialInformation::insert(TableFunction::adjustColumn, "adjustColumn(QString widgetName, int col)",  "Adjusts column col to fit.");
SpecialInformation::addDCOP(TableFunction::adjustColumn, "void");

Patch is against kommander-1.3.0.

Please apply.

cu

Fabian
-- 
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! 
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kommander-dcop-for-plugins.diff
Type: text/x-diff
Size: 7457 bytes
Desc: not available
Url : http://mail01.fortunecookiestudios.com/pipermail/kommander-devel/attachments/20061110/19b3b4dc/kommander-dcop-for-plugins.bin


More information about the Kommander-devel mailing list