我看见网上有这样写的
QUrl *url=new QUrl(”
https://www.google.com/accounts/ClientLogin”);
QString* date = new QString(”bianhao=010202004090100011″);
QByteArray postData = “\nservice=reader&”;
postData += “Email=”;
postData += QUrl::toPercentEncoding(”
asdfasdf@gmail.com” );
postData += “&Passwd=”;
postData += QUrl::toPercentEncoding(”asdfasdfsadf” );
QHttpRequestHeader header(”POST”, url->path());
header.setContentType(”application/x-www-form-urlencoded”);
QByteArray searchString(”complete=1&hl=zh-CN&lr=lang_zh-CN%7Clang_zh-TW&newwindow=1&q=qhttp&start=10&sa=N”);
header.setContentLength(searchString.length());
http->setHost(url->host(),QHttp::ConnectionModeHttps);
f.setFileName(”results.html”);
f.open(QIODevice::WriteOnly | QIODevice::Truncate);
mHttpReqId= http->request(header,postData,&f);
不知道这里的postData是什么意思 还有searchString是什么意思 希望能解释一下