Re: KStatusBar temporary/permanent items
On Saturday 11 February 2006 11:37, Rohan McGovern wrote:[color=blue]
> Currently KStatusBar::insertItem method has had the 'permanent' parameter
> removed since KDE 3 - see
> [url]http://websvn.kde.org/trunk/KDE/kdelibs/kdeui/kstatusbar.cpp?rev=501634&r1=501002&r2=501634[/url] .
> This makes every item temporary.
> It was removed ostensibly because QStatusBar::addWidget has also had its
> 'permanent' parameter removed in Qt 4. An addPermanentWidget method takes
> its place, therefore it should be easy to reimplement the 'permanent'
> parameter of KStatusBar::insertItem. Does anyone object to me doing this?
> Currently, a few apps from trunk won't compile because of this (at least
> kstars and kbattleship, probably more).
> The alternative, to make the API more similar to the new Qt4 API, would be
> to implement KStatusBar::insertPermanentItem.[/color]
This sounds like a good idea to me, please add KStatusBar::insertPermanentItem().
David Faure, [email]email@example.com[/email], sponsored by Trolltech to work on KDE,
Konqueror ([url]http://www.konqueror.org[/url]), and KOffice ([url]http://www.koffice.org[/url]).
>> Visit [url]http://mail.kde.org/mailman/listinfo/kde-devel#unsub[/url] to unsubscribe <<[/color][/color]