Unfortunate typo in kxmlguiclient.cpp

David Faure faure at kde.org
Wed Feb 11 22:36:26 GMT 2004


On Wednesday 11 February 2004 23:25, Russell Miller wrote:
> On Wednesday 11 February 2004 16:20, George Staikos wrote:
> > 1.61         (ellis    21-Jan-02):     d->m_actionCollection = new
> > KActionCollection( 0, 0,
> > 1.58         (ellis    19-Jan-02):       "KXMLGUILClient-KActionCollection"
> > );
> >
> >    Does anyone have any comments on the implications of fixing this typo?
> > Is it safe?  I saw this from within a script in JS so in a sense it is
> > public in some ways now.

All QObject names are "public" in such a way, but one shouldn't rely on them.
IMHO you can change it.
Many other action collections aren't even named...

> Is it possible to duplicate it with the correct name and deprecate the wrong
> one?
Nonsense (sorry) - there's only one action collection per guiclient. Another collection
wouldn't hold the actions, anyway.

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list