StatusBar in KMainWindow

Simon Hausmann hausmann at kde.org
Wed Mar 12 08:54:15 GMT 2003


On Wed, Mar 12, 2003 at 09:30:43AM +0000, Benjamin Meyer wrote:
> ===================================================================
> RCS file: /home/kde/kdelibs/kdeui/kmainwindow.cpp,v
> retrieving revision 1.97
> diff -r1.97 kmainwindow.cpp
> 880a881,882
> >     if(internalStatusBar())
> >       internalStatusBar()->setShown(d->isStatusBarShown);
> 947a950,953
> >
> >       KToggleAction *showStatusbar = KStdAction::showStatusbar(0, 0, 
> actionCollection());
> >       connect(showStatusbar, SIGNAL(toggled(bool)), sb, 
> SLOT(setShown(bool)));
> >       connect(showStatusbar, SIGNAL(activated()), this, 
> SLOT(setSettingsDirty()));

Please use a unified diff. (put 'cvs diff -u -p' into your ~/.cvsrc,
so you get a unified one including the affected function names)

Simon




More information about the kde-core-devel mailing list