Commit 06cba1a7 authored by hausmann's avatar hausmann
Browse files

Minor QWebNetworkRequet API fixlet


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@23495 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7dfac699
...@@ -132,8 +132,8 @@ QWebNetworkRequest &QWebNetworkRequest::operator=(const QWebNetworkRequest &othe ...@@ -132,8 +132,8 @@ QWebNetworkRequest &QWebNetworkRequest::operator=(const QWebNetworkRequest &othe
/*! /*!
\internal \internal
*/ */
QWebNetworkRequest::QWebNetworkRequest(QWebNetworkRequestPrivate *priv) QWebNetworkRequest::QWebNetworkRequest(const QWebNetworkRequestPrivate &priv)
: d(new QWebNetworkRequestPrivate(*priv)) : d(new QWebNetworkRequestPrivate(priv))
{ {
} }
...@@ -259,7 +259,7 @@ QHttpRequestHeader QWebNetworkJob::httpHeader() const ...@@ -259,7 +259,7 @@ QHttpRequestHeader QWebNetworkJob::httpHeader() const
*/ */
QWebNetworkRequest QWebNetworkJob::request() const QWebNetworkRequest QWebNetworkJob::request() const
{ {
return QWebNetworkRequest(&d->request); return QWebNetworkRequest(d->request);
} }
/*! /*!
......
...@@ -65,7 +65,7 @@ public: ...@@ -65,7 +65,7 @@ public:
void setPostData(const QByteArray &data); void setPostData(const QByteArray &data);
private: private:
explicit QWebNetworkRequest(QWebNetworkRequestPrivate *priv); explicit QWebNetworkRequest(const QWebNetworkRequestPrivate &priv);
explicit QWebNetworkRequest(const WebCore::ResourceRequest &request); explicit QWebNetworkRequest(const WebCore::ResourceRequest &request);
friend class QWebNetworkJob; friend class QWebNetworkJob;
friend class WebCore::FrameLoaderClientQt; friend class WebCore::FrameLoaderClientQt;
......
2007-06-13 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.
Minor QWebNetworkRequet API fixlet
* Api/qwebnetworkinterface.cpp:
* Api/qwebnetworkinterface.h:
2007-06-13 Simon Hausmann <hausmann@kde.org> 2007-06-13 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars. Reviewed by Lars.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment