Icon choosing in kedittoolbar

David Faure faure at kde.org
Fri Apr 30 00:11:30 BST 2004


On Friday 30 April 2004 00:53, David Faure wrote:
> Well you apparently need to fix much more than that, in particular letting
> the normal xmlgui plugging mechanism do its work (you're creating a real toolbar,
> so AFAICS it should work, if xmlguifactory can find the action).

Just to prove that it works indeed: proof-of-concept patch attached.

Note the TODO, and note that you'll have to fix slotRemoveToolbar to
fix the crash on exit :). And you can probably clean up a lot of
slotConfigureToolbars().

But the point is that it works fine that way, with no manual plugging,
the toolbars appear and the edittoolbar dialog works as you expect.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: quanta.diff
Type: text/x-diff
Size: 1665 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040430/7e2615fd/attachment.diff>


More information about the kde-core-devel mailing list