setupGUI and kparts

Benjamin Meyer ben at meyerhome.net
Fri Jul 2 21:15:10 BST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> So... AFAICS the original method was fine; what's not fine is
> KMainWindow::saveNewToolbarConfig(). It should be reimplemented in
> KParts::MainWindow (ouch, needs virtual_hook) to call createGUI(
> m_activePart ) instead.

I ran across this when converting kdegraphics/kcoloredit and kdeedu/kverbos.  
When you open kedittoobar there are no actions on either side, but with the 
original patch using actionCollection() causes actions to appear.

- -Benjamin Meyer

- -- 
aka icefox
Public Key: http://www.csh.rit.edu/~benjamin/public_key.asc
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQFA5cJR1rZ3LTw38vIRAmRtAKCKtpalkDZ2J5SvY/sryTSS3TfhkACgrdYz
ipBZXJR2dblhuPTqVmwNN4M=
=Fj8W
-----END PGP SIGNATURE-----




More information about the kde-core-devel mailing list