[Patch] KProgress / KProgressDialog

David Faure faure at kde.org
Thu Jan 12 23:53:56 GMT 2006


On Friday 13 January 2006 01:35, Urs Wolfer wrote:
> Some time ago we had a discussion about removing KProgress. 
> 
> The only problem is that the Qt4 QProgressBar doesn't have a function to 
> change the format of the indicator text like the Qt3 one has. So I have no 
> idea how to implement the setFormat form KProgress in Qt4. Can someone give 
> me a hint?

By reimplementing the text() method from Qt4's QProgressBar.

> I think we should move KProgress to kde3support because it inherits of a 
> qt3support class (Q3ProgressBar).

Either that or porting it to QProgressBar, I don't know what's best.

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





More information about the kde-core-devel mailing list