42 #ifndef QNETWORKACCESSMANAGER_H
43 #define QNETWORKACCESSMANAGER_H
45 #include <QtCore/QObject>
57 template<typename T> class
QList;
65 #if !defined(QT_NO_BEARERMANAGEMENT) && !defined(QT_MOBILITY_BEARER)
70 class QNetworkReplyImplPrivate;
71 class QNetworkAccessManagerPrivate;
76 #ifndef QT_NO_BEARERMANAGEMENT
92 #ifndef QT_NO_BEARERMANAGEMENT
94 UnknownAccessibility = -1,
103 #ifndef QT_NO_NETWORKPROXY
104 QNetworkProxy proxy()
const;
105 void setProxy(
const QNetworkProxy &proxy);
106 QNetworkProxyFactory *proxyFactory()
const;
107 void setProxyFactory(QNetworkProxyFactory *factory);
110 QAbstractNetworkCache *cache()
const;
111 void setCache(QAbstractNetworkCache *cache);
113 QNetworkCookieJar *cookieJar()
const;
114 void setCookieJar(QNetworkCookieJar *cookieJar);
116 QNetworkReply *head(
const QNetworkRequest &request);
117 QNetworkReply *
get(
const QNetworkRequest &request);
118 QNetworkReply *post(
const QNetworkRequest &request, QIODevice *
data);
119 QNetworkReply *post(
const QNetworkRequest &request,
const QByteArray &
data);
120 QNetworkReply *post(
const QNetworkRequest &request,
QHttpMultiPart *multiPart);
121 QNetworkReply *put(
const QNetworkRequest &request, QIODevice *
data);
122 QNetworkReply *put(
const QNetworkRequest &request,
const QByteArray &
data);
123 QNetworkReply *put(
const QNetworkRequest &request,
QHttpMultiPart *multiPart);
124 QNetworkReply *deleteResource(
const QNetworkRequest &request);
125 QNetworkReply *sendCustomRequest(
const QNetworkRequest &request,
const QByteArray &verb, QIODevice *
data = 0);
127 #if !defined(QT_NO_BEARERMANAGEMENT) && !defined(QT_MOBILITY_BEARER)
133 #ifndef QT_NO_BEARERMANAGEMENT
134 void setNetworkAccessible(NetworkAccessibility accessible);
135 NetworkAccessibility networkAccessible()
const;
139 #ifndef QT_NO_NETWORKPROXY
140 void proxyAuthenticationRequired(
const QNetworkProxy &proxy, QAuthenticator *authenticator);
142 void authenticationRequired(QNetworkReply *reply, QAuthenticator *authenticator);
143 void finished(QNetworkReply *reply);
144 #ifndef QT_NO_OPENSSL
148 #if !defined(QT_NO_BEARERMANAGEMENT) && !defined(QT_MOBILITY_BEARER)
149 void networkSessionConnected();
152 #ifndef QT_NO_BEARERMANAGEMENT
157 virtual QNetworkReply *createRequest(Operation op,
const QNetworkRequest &request,
158 QIODevice *outgoingData = 0);
161 friend class QNetworkReplyImplPrivate;
162 friend class QNetworkAccessHttpBackend;
166 Q_PRIVATE_SLOT(d_func(),
void _q_replySslErrors(QList<QSslError>))
167 #if !defined(QT_NO_BEARERMANAGEMENT) && !defined(QT_MOBILITY_BEARER)
State
The state the media producing object is in at the moment.
#define Q_PRIVATE_SLOT(d, signature)
#define QT_BEGIN_NAMESPACE
GLsizei GLsizei GLenum GLenum const GLvoid * data