[Qt] Second attempt to fix the build with Qt 4.6 broken in 73710.

Reviewed by nobody, build fix.

* platform/network/qt/QtNAMThreadSafeProxy.cpp:
(WebCore::QtNetworkReplyThreadSafeProxy::QtNetworkReplyThreadSafeProxy):
(WebCore::QtNetworkReplyThreadSafeProxy::localCustomRequest):
* platform/network/qt/QtNAMThreadSafeProxy.h:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@73722 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 7044b94e
2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
Reviewed by nobody, build fix.
[Qt] Second attempt to fix the build with Qt 4.6 broken in 73710.
* platform/network/qt/QtNAMThreadSafeProxy.cpp:
(WebCore::QtNetworkReplyThreadSafeProxy::QtNetworkReplyThreadSafeProxy):
(WebCore::QtNetworkReplyThreadSafeProxy::localCustomRequest):
* platform/network/qt/QtNAMThreadSafeProxy.h:
2010-12-10 Jocelyn Turcotte <jocelyn.turcotte@nokia.com>
Reviewed by nobody, build fix.
......
......@@ -85,9 +85,7 @@ QtNetworkReplyThreadSafeProxy::QtNetworkReplyThreadSafeProxy(QNetworkAccessManag
connect(this, SIGNAL(localHeadRequested(const QNetworkRequest&)), SLOT(localHead(const QNetworkRequest&)));
connect(this, SIGNAL(localPutRequested(const QNetworkRequest&, QIODevice*)), SLOT(localPut(const QNetworkRequest&, QIODevice*)));
connect(this, SIGNAL(localDeleteResourceRequested(const QNetworkRequest&)), SLOT(localDeleteResource(const QNetworkRequest&)));
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
connect(this, SIGNAL(localCustomRequestRequested(const QNetworkRequest&, const QByteArray&)), SLOT(localCustomRequest(const QNetworkRequest&, const QByteArray&)));
#endif
connect(this, SIGNAL(localAbortRequested()), SLOT(localAbort()));
connect(this, SIGNAL(localSetForwardingDeferedRequested(bool)), SLOT(localSetForwardingDefered(bool)));
}
......@@ -122,12 +120,12 @@ void QtNetworkReplyThreadSafeProxy::localDeleteResource(const QNetworkRequest& r
localSetReply(m_manager->deleteResource(request));
}
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
void QtNetworkReplyThreadSafeProxy::localCustomRequest(const QNetworkRequest& request, const QByteArray& verb)
{
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
localSetReply(m_manager->sendCustomRequest(request, verb));
}
#endif
}
void QtNetworkReplyThreadSafeProxy::localAbort()
{
......
......@@ -137,9 +137,7 @@ signals:
void localHeadRequested(const QNetworkRequest& request);
void localPutRequested(const QNetworkRequest& request, QIODevice* data);
void localDeleteResourceRequested(const QNetworkRequest& request);
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
void localCustomRequestRequested(const QNetworkRequest& request, const QByteArray& verb);
#endif
void localAbortRequested();
void localSetForwardingDeferedRequested(bool forwardingDefered);
......@@ -155,9 +153,7 @@ private slots:
void localHead(const QNetworkRequest& request);
void localPut(const QNetworkRequest& request, QIODevice* data);
void localDeleteResource(const QNetworkRequest& request);
#if QT_VERSION >= QT_VERSION_CHECK(4, 7, 0)
void localCustomRequest(const QNetworkRequest& request, const QByteArray& verb);
#endif
void localAbort();
void localForwardData();
void localSetForwardingDefered(bool forwardingDefered);
......
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