QtNetwork/qnetworkreply.h Source File
Go to the documentation of this file.
42 #ifndef QNETWORKREPLY_H
43 #define QNETWORKREPLY_H
45 #include <QtCore/QIODevice>
46 #include <QtCore/QString>
47 #include <QtCore/QVariant>
49 #include <QtNetwork/QNetworkRequest>
50 #include <QtNetwork/QNetworkAccessManager>
64 class QNetworkReplyPrivate;
74 ConnectionRefusedError = 1,
81 UnknownNetworkError = 99,
84 ProxyConnectionRefusedError = 101,
89 UnknownProxyError = 199,
92 ContentAccessDenied = 201,
97 UnknownContentError = 299,
100 ProtocolUnknownError = 301,
102 ProtocolFailure = 399
106 virtual void abort() = 0;
109 virtual void close();
110 virtual bool isSequential()
const;
113 qint64 readBufferSize()
const;
119 NetworkError error()
const;
120 bool isFinished()
const;
121 bool isRunning()
const;
128 bool hasRawHeader(
const QByteArray &headerName)
const;
138 #ifndef QT_NO_OPENSSL
139 QSslConfiguration sslConfiguration()
const;
140 void setSslConfiguration(
const QSslConfiguration &configuration);
145 virtual void ignoreSslErrors();
148 void metaDataChanged();
151 #ifndef QT_NO_OPENSSL
155 void uploadProgress(
qint64 bytesSent,
qint64 bytesTotal);
156 void downloadProgress(
qint64 bytesReceived,
qint64 bytesTotal);
166 void setFinished(
bool);
167 void setUrl(
const QUrl &url);
#define QT_BEGIN_NAMESPACE
GLsizei GLsizei GLenum GLenum const GLvoid * data
GLsizei const GLfloat * value
GLXFBConfig int attribute
QPair< QByteArray, QByteArray > RawHeaderPair