[PATCH] Doc ammendment for KXMLGUIClent
Max Howell
max.howell at methylblue.com
Tue Jan 18 19:12:48 GMT 2005
Having spent a while trying to figure out why amaroK shortcuts didn't update
when you used the KKeyDialog, I discovered that you need to call
KActionCollection::setWidget( QWidget* ) on the KXMLGUIClient
actionCollection. (We don't use KMainWindow)
I enclose the attached documentation patch so that others may avoid the same
fate.
Max
PS. is the policy for updating kdelibs docs that patches should always be
checked first? I'd commit a lot more little tips like this if I didn't need
to have them peer-reviewed first. Although of course that could be just as
well.
--
Max Howell; MK, UK; http://www.methylblue.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kxmlguiclient.h.patch
Type: text/x-diff
Size: 916 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20050118/0e4469e4/attachment.patch>
More information about the kde-core-devel
mailing list