On Mon, Apr 08, 2002 at 10:24:59PM +0200, Wilco Greven wrote: > On Monday 08 April 2002 04:45, John Firebaugh wrote: > > The attached patch adds two new KAction-subclasses: KToggleToolbarAction > > and KWidgetAction. The first handles everything associated with a "Show ___ > > Toolbar" menu item, including updating itself when the toolbar is shown or > > hidden programmatically. Use of this class will make bugs like "Bug#40413: > > Selections in Settings are displayed incorrectly" easy to fix. The second > > provides an easy way to insert custom widgets into toolbars. It removes the > > necessity of subclassing KAction for every widget you want to insert into a > > toolbar. > > Maybe we should add a KToggleStatusbarAction too for completeness. It could be > used in at least KMail and KGhostView. What is about KToggleMenuBarAction for konsole and maybe some other applications? Ciao, Tobias -- In a world without walls and fences who needs Windows and Gates???