[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-kimageshop
Subject:    Re: Too many dockers...
From:       Boudewijn Rempt <boud () valdyas ! org>
Date:       2004-09-29 15:17:53
Message-ID: 200409291717.56512.boud () valdyas ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tuesday 21 September 2004 19:00, Cyrille Berger wrote:
> > The third solution would be to try & find some kxmlgui documentation that
> > tells me whether it's possible to merge two .rc files from code.
>
> you can use KXMLClient::setXMLFile("name.rc", true /* to ask to merge,
> false is default*/)
>
> but in a KPart::Plugin, the rc is automaticaly merged.

I haven't got this working, yet... If I put the .rc file in root location
(/opt/kde3/share/apps/krita/), the rc file is apparently found, if I put the 
the file where it belongs (/opt/kde3/share/apps/krita/kpartplugins), 
kxmlguiclient complains that it cannot find the file.

That's one thing, but even when kxmlguiclient can find the .rc file, the 
actions are not added to the toolbars. I'm not sure how to proceed here... 
The kxmlgui documentation isn't completely enlightening.

What I need is some simple way to add items to the xml gui at runtime, not 
just when the part is loaded, but when the tool is constructed.

-- 
Boudewijn Rempt | "Geef mij maar zuurtjes."
http://www.valdyas.org/fading/index.cgi

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic