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

List:       kde-core-devel
Subject:    Re: [Patch] KProgress / KProgressDialog
From:       Olivier Goffart <ogoffart () kde ! org>
Date:       2006-01-13 8:53:57
Message-ID: 200601130954.07976.ogoffart () kde ! org
[Download RAW message or body]


Le Vendredi 13 Janvier 2006 01:35, Urs Wolfer a =E9crit=A0:
> 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 gi=
ve
> me a hint?
>
> I think we should move KProgress to kde3support because it inherits of a
> qt3support class (Q3ProgressBar). The setFormat is used rarely. But this
> way apps really need it can still use it with the kde3support class.
>
> See the attached patch: KProgressDialog is not anymore in
> kprogress.{cpp/h}. It's now kprogressdialog.{cpp/h}. KProgressDialog takes
> now use of QProgressBar instead of KProgress. I've done some cleanups.


Just a question :
Why do you call qApp->processEvents() in slotAutoShow ?

[Attachment #3 (application/pgp-signature)]

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

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