[Kde-bindings] Response to "Anyone interested in helping me get KAction and KXMLGUI working?"

Richard Dale rdale at foton.es
Tue Jun 10 09:25:53 UTC 2008


On Tuesday 10 June 2008 07:21:32 Gary Greene wrote:
> Note, this is for KDE3:
> After doing some work investigating the cause of KAction and KXMLGUI
> working, I think I've hit on why it doesn't seem to work. As an expermiment
> I tried intraspecting the actionCollection stored by KMainWindow to see if
> it was unable to hold KActions or if it was unable to return anything to
> the KXMLGUIClient provided by KMainWindow.
>
> It seems that the main problem is that PerlKDE doesn't implement binding
> KActionPtrList based off the output from the actions method in
> KActionCollection. The code that exhibits this is attached.
I looked at the PerlQt 3.008 sources and it looks like you just need to add a 
macro call to the kde marshalling handlers, something like this:

MARSHALL_QPTRLIST( KActionPtrList , KActionPtrList , KAction, " KDE::Action", 
FALSE )

-- Richard




More information about the Kde-bindings mailing list