[PATCH] Add optional arguments to QT4_GENERATE_DBUS_INTERFACE

Thomas McGuire thomas.mcguire at gmx.net
Wed Dec 19 20:37:26 CET 2007


Hi,

the current QT4_GENERATE_DBUS_INTERFACE does not allow me to only extract 
methods marked with Q_SCRIPTABLE. I need this for KMail, I don't want to 
export each public slot.

The attached patch simply uses an optional parameter to specify the parameters 
for qdbuscpp2xml. For example, by passing -psm to the macro, only scriptable 
methodes are exported.

Is the patch OK? Any comments? Can I commit?

Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dbus.diff
Type: text/x-diff
Size: 2523 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20071219/8b32d773/attachment.bin 


More information about the Kde-buildsystem mailing list