[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: [Patch] KProgress / KProgressDialog
From:       David Faure <faure () kde ! org>
Date:       2006-01-12 23:53:56
Message-ID: 200601130053.56682.faure () kde ! org
[Download RAW message or body]

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@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic