[PATCH] KToggleToolbarAction, KWidgetAction
Wilco Greven
greven at kde.org
Mon Apr 8 21:24:59 BST 2002
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.
Greetings,
Wilco
More information about the kde-core-devel
mailing list