QNetworkAccessManager

QNetworkAccessManager

networkManagerObj = new QNetworkAccessManager(this);
connect(networkManagerObj, SIGNAL(finished(QNetworkReply*)), this, SLOT(replyFinished(QNetworkReply*)));

 

 

QUrl url(strUrl);
QNetworkRequest m_httpRequest(url);

uploadFileReply = networkManagerObj->get(m_httpRequest);
connect(uploadFileReply, SIGNAL(finished()), this, SLOT(slotHttpUploadFinished()));

 

 

 

###################

上一篇:QT学习:网络应用开发练习(简单网页浏览器)


下一篇:OSCP Security Technology - Linux Post Exploitation