How to retrieve a HTML page ?
-
Hi,
I want to retrieve a html page and then process its content. But what I'd like to know is which (undeprecated) APIs I can use to retrive a web page's content ? And maybe I should use some other APIs before the API that does the job, like some functions that are needed to establish a connection first. So, any broader answer would be appreciated. Thanks. -
You should have a look at "QNetworkAccessManager":http://doc.trolltech.com/4.7/qnetworkaccessmanager.html, "QNetworkRequest":http://doc.trolltech.com/4.7/qnetworkrequest.html and "QNetworkReply":http://doc.trolltech.com/4.7/qnetworkreply.html
Look at the "Detailed Description" of QNetworkAccessManager, this might be already what you want or gives you a good start.