[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [PATCH] KToggleToolbarAction, KWidgetAction
From:       Wilco Greven <greven () kde ! org>
Date:       2002-04-08 20:24:59
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic