[PATCH] KToggleToolbarAction, KWidgetAction

Lubos Lunak l.lunak at sh.cvut.cz
Mon Apr 15 17:27:42 BST 2002


On po 15. duben 2002 07:32, Tobias Koenig wrote:
[snip]
> >
> > Unfortunately KMenuBar and KStatusBar do not have a visibilityChanged()
> > signal like KToolBar, which is necessary for the action to update itself
> > automatically. I don't know why QWidget doesn't have a
> > visibilityChanged() signal... seems like an oversight to me.
>
> Since QMenuBar and QStatusBar do not have this signal the attached patch
> add it to KMenuBar and KStatusBar and provide the two new classes
> KToggleMenuBarAction and KToggleStatusBarAction. Maybe thet TTs could add
> the signals to QMenuBar and QStatusBar in the future so we can ommit this
> workaround. Is it ok to commit?

 If you write 'maybe TT could...', you should probably also actually CC: them.

-- 
 Lubos Lunak
 llunak at suse.cz ; l.lunak at kde.org
 http://dforce.sh.cvut.cz/~seli





More information about the kde-core-devel mailing list