[Qt-interest] QNetworkAccessManager - progress indication
Charles Yin
yinyunqiao at gmail.com
Fri Jul 17 08:12:22 CEST 2009
If you use the QWebPage, there are some related signals:
(http://doc.trolltech.com/4.5/qwebpage.html)
- void *loadFinished<http://doc.trolltech.com/4.5/qwebpage.html#loadFinished>
* ( bool *ok* )
- void *loadProgress<http://doc.trolltech.com/4.5/qwebpage.html#loadProgress>
* ( int *progress* )
- void *loadStarted<http://doc.trolltech.com/4.5/qwebpage.html#loadStarted>
* ()
The void loadProgrss(int progress) for the download progress of one page,
and use the another 2 signals for the download counting purpose.
Charles Yin
On Fri, Jul 17, 2009 at 11:04 AM, hugh <hdixon at bigpond.net.au> wrote:
> Hi,
> I'm fairly new to QT, so this may be trivial (point me to the reference if
> I
> have missed one)
> I am downing a number (hundreds) of web pages using QNetworkAccessManager.
> I
> would like to have a status indicator. I was hoping to get a count of
> outstanding downloads, but cannot see how to get this info.
> (Yes, I could count the number of downloads I start and the number that
> complete, but I was hoping there would be something in the framework.
>
> TIA for any response,
> Hugh
>
> -------------------------------------------------------
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-interest
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090717/58084e25/attachment.html
More information about the Qt-interest-old
mailing list