--===============0786437988== Content-Type: multipart/signed; boundary="nextPart2117158.z6FCsfFZij"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2117158.z6FCsfFZij Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Saturday 21 October 2006 17:58, Thomas Zander wrote: Hi, > ProgressUpdater *pu =3D new ProgressUpdater (widget); > > For each action that has progress updating you do a; > > pu->start(100); > Updater updater =3D pu->startSubtask(); > where you can do things like: > updater.forward(10); // adds 10 percent to the progress of this subtask. You may want to have ProgressUpdater and Updater typed to one interface, so= =20 that you can use them interchangeably. And the Updater could also get a=20 textual description. =46WIW, Eclipse uses a very similar interface (see ProgressMonitor and=20 SubProgressMonitor conforming to IProgressMonitor). Cheers, Carsten --nextPart2117158.z6FCsfFZij Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQEVAwUART1Du6WgYMJuwmZtAQKP9wf+KR5gRUE7XLs5/8QGRQ6Ba4pQ2bJcxw7C J47ToaeJUuhi5G/2Hv25LwmJ3RK3MZXmFkREVV/OIHT/yje1PHIie1pX9fR7cmBw PSjmOqOn7/gvGNi5nWezGmFo0h0YGE5FvaASkz+G6LByxSRTNcHYIeNMsYpiUlsP jFilvvqlYgc4gdjJglXQglQefdOm//RVJZiaMtrqq4g5zwKcmYVyGqSqkyWWlHIx kKAnu/UtWljgzmLtDRwFyL/VGS6UZN5S/3jveB4L9mMFbgdt4rQ0H1fPEd/gOxQv YUzfe2iYkcONAhjp4IAoy8GazFpgStJ05za6wFvOb5iNOL9aWpIvZQ== =GOLI -----END PGP SIGNATURE----- --nextPart2117158.z6FCsfFZij-- --===============0786437988== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ kimageshop mailing list kimageshop@kde.org https://mail.kde.org/mailman/listinfo/kimageshop --===============0786437988==--