Rename QWebNetworkJob::request() into QWebNetworkJob::httpHeader() and added
[WebKit-https.git] / WebKitQt / Api / qwebnetworkinterface.h
index ad649442e2bc6da9120fa58805c562a5dc879e4a..8eb2aa836ce90fc67790b1542a30b0c800d5f518 100644 (file)
@@ -56,7 +56,9 @@ public:
     void setPostData(const QByteArray &data);
 
 private:
+    explicit QWebNetworkRequest(QWebNetworkRequestPrivate *priv);
     QWebNetworkRequestPrivate *d;
+    friend class QWebNetworkJob;
 };
 
 class QWEBKIT_EXPORT QWebNetworkJob
@@ -69,7 +71,8 @@ public:
     };
     QUrl url() const;
     QByteArray postData() const;
-    QHttpRequestHeader request() const;
+    QHttpRequestHeader httpHeader() const;
+    QWebNetworkRequest request() const;
 
     QHttpResponseHeader response() const;
     void setResponse(const QHttpResponseHeader &response);