On Saturday 11 February 2006 11:37, Rohan McGovern wrote:
> Hi,
> Currently KStatusBar::insertItem method has had the 'permanent' parameter
> removed since KDE 3 - see
> http://websvn.kde.org/trunk/KDE/kdel...1002&r2=501634 .
> 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.

This sounds like a good idea to me, please add KStatusBar::insertPermanentItem().

David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<