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

Gary Greene greeneg at tolharadys.net
Tue Jun 10 15:10:23 UTC 2008


On Tuesday 10 June 2008 02:25:53 am Richard Dale wrote:
> 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
>
> _______________________________________________
> Kde-bindings mailing list
> Kde-bindings at kde.org
> https://mail.kde.org/mailman/listinfo/kde-bindings

Thanks for the tip, Richard. Once I've got that working, I'll be a happy 
coder :)

-- 
Gary L. Greene, Jr.
Sent from: peorth
 08:07:09 up 23:56,  9 users,  load average: 0.16, 0.18, 0.08
==========================================================================
Developer and Project Lead for the AltimatOS open source project
Volunteer Developer for the KDE open source project
See http://www.altimatos.com/ and http://www.kde.org/ for more information
==========================================================================

Please avoid sending me Word or PowerPoint attachments.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20080610/d92badd8/attachment.sig>


More information about the Kde-bindings mailing list