From kde-core-devel Mon Apr 08 20:24:59 2002 From: Wilco Greven Date: Mon, 08 Apr 2002 20:24:59 +0000 To: kde-core-devel Subject: Re: [PATCH] KToggleToolbarAction, KWidgetAction X-MARC-Message: https://marc.info/?l=kde-core-devel&m=101829735316441 On Monday 08 April 2002 04:45, John Firebaugh wrote: > The attached patch adds two new KAction-subclasses: KToggleToolbarActio= n > 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#404= 13: > Selections in Settings are displayed incorrectly" easy to fix. The seco= nd > provides an easy way to insert custom widgets into toolbars. It removes= the > necessity of subclassing KAction for every widget you want to insert in= to a > toolbar. Maybe we should add a KToggleStatusbarAction too for completeness. It cou= ld be=20 used in at least KMail and KGhostView. Greetings, Wilco