- 博客(8)
- 资源 (1)
- 收藏
- 关注
原创 Qt-Function-QWebFrame->load()_05
接04。http://blog.youkuaiyun.com/binzhouweichao/article/details/8102539 继续查看qwebframe.cpp中load2的关于body部分的代码。 if (!body.isEmpty()) request.setHTTPBody(WebCore::FormData::create(body.constData()
2012-10-25 14:59:40
418
原创 Qt-Function-QWebFrame->load()_04
接03。http://blog.youkuaiyun.com/binzhouweichao/article/details/8101190 2012.10.23 于济南 qwebview.cpp中load2的内容,关于rawHeader部分。 QList httpHeaders = req.rawHeaderList(); for (int i = 0; i < httpHeaders.
2012-10-23 17:18:50
1014
原创 Qt-Function-QWebFrame->load()_03
接02。http://blog.youkuaiyun.com/binzhouweichao/article/details/8097021 2012.10.23 于济南 继续查看qwebframe.cpp中load2的其他内容。 本部分主要讲述CachePolicy相关的东西。 相关代码: QVariant cacheLoad = req.attribute(QNetworkRequest::Cac
2012-10-23 13:38:52
837
原创 Qt-Function-QWebFrame->load()_02
接01。http://blog.youkuaiyun.com/binzhouweichao/article/details/8089115 2012.10.22 于济南 查找类WebCore::ResourceRequest,位置:src\3rdparty\webkit\Source\WebCore\platform\network\qt\ResourceRequest.h。 这里发现构造函数重载了,有
2012-10-22 16:03:20
1131
原创 Qt-Function-QWebFrame->load()_01
前面只发布了QWebView的代码,并没有具体的解释过load()函数。在这里补充上。 2012.10.19 于济南 先贴上两个load的源码,分别命名为load1、load2,方便下文论述: load1: void QWebFrame::load(const QUrl &url) { // The load() overload ensures that the url is a
2012-10-22 09:27:42
1085
原创 Qt-qwebframe-load()
void QWebFrame::load(const QNetworkRequest &req, QNetworkAccessManager::Operation operation, const QByteArray &body) { if (d->parentFrame()) d->pa
2012-10-17 11:34:36
1674
原创 Qt WebPage handleUnsupportedContent(QNetworkReply *reply)
code: void WebPage::handleUnsupportedContent(QNetworkReply *reply) { QString errorString = reply->errorString(); if (m_loadingUrl != reply->url()) { // sub resource of this page
2012-10-16 15:14:54
1364
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人