QNetworkReply
#include <QtNetwork/QNetworkReply>
More information will be added here shortly. For now, you'll find more extensive information about this class in the Qt reference for QNetworkReply
Overview
Inheritance
QIODevice | ||
QNetworkReply |
Public Types Index
enum NetworkErrorNoError 0, ConnectionRefusedError 1, RemoteHostClosedError, HostNotFoundError, TimeoutError, OperationCanceledError, SslHandshakeFailedError, TemporaryNetworkFailureError, UnknownNetworkError 99, ProxyConnectionRefusedError 101, ProxyConnectionClosedError, ProxyNotFoundError, ProxyTimeoutError, ProxyAuthenticationRequiredError, UnknownProxyError 199, ContentAccessDenied 201, ContentOperationNotPermittedError, ContentNotFoundError, AuthenticationRequiredError, ContentReSendError, UnknownContentError 299, ProtocolUnknownError 301, ProtocolInvalidOperationError, ProtocolFailure 399 | |
QPair< QByteArray, QByteArray > | RawHeaderPair |
enum OpenModeFlagNotOpen 0x0000, ReadOnly 0x0001, WriteOnly 0x0002, ReadWrite ReadOnly | WriteOnly, Append 0x0004, Truncate 0x0008, Text 0x0010, Unbuffered 0x0020 |
Public Functions Index
~QNetworkReply () | |
void | abort ()=0 |
QVariant | attribute (QNetworkRequest::Attribute code) const |
virtual void | close () |
NetworkError | error () const |
bool | hasRawHeader (const QByteArray &headerName) const |
QVariant | header (QNetworkRequest::KnownHeaders header) const |
void | ignoreSslErrors (const QList< QSslError > &errors) |
bool | isFinished () const |
bool | isRunning () const |
virtual bool | isSequential () const |
QNetworkAccessManager * | manager () const |
QNetworkAccessManager::Operation | operation () const |
QByteArray | rawHeader (const QByteArray &headerName) const |
QList< QByteArray > | rawHeaderList () const |
const QList< RawHeaderPair > & | rawHeaderPairs () const |
qint64 | readBufferSize () const |
QNetworkRequest | request () const |
virtual void | setReadBufferSize (qint64 size) |
void | setSslConfiguration (const QSslConfiguration &configuration) |
QSslConfiguration | sslConfiguration () const |
QUrl | url () const |
virtual bool | atEnd () const ![]() |
virtual qint64 | bytesAvailable () const ![]() |
virtual qint64 | bytesToWrite () const ![]() |
virtual bool | canReadLine () const ![]() |
QString | errorString () const ![]() |
bool | getChar (char *c)![]() |
bool | isOpen () const ![]() |
bool | isReadable () const ![]() |
bool | isTextModeEnabled () const ![]() |
bool | isWritable () const ![]() |
virtual bool | open (OpenMode mode)![]() |
OpenMode | openMode () const ![]() |
qint64 | peek (char *data, qint64 maxlen)![]() |
QByteArray | peek (qint64 maxlen)![]() |
virtual qint64 | pos () const ![]() |
bool | putChar (char c)![]() |
QIODevice ()![]() | |
QIODevice (QObject *parent)![]() | |
qint64 | read (char *data, qint64 maxlen)![]() |
QByteArray | read (qint64 maxlen)![]() |
QByteArray | readAll ()![]() |
qint64 | readLine (char *data, qint64 maxlen)![]() |
QByteArray | readLine (qint64 maxlen=0)![]() |
virtual bool | reset ()![]() |
virtual bool | seek (qint64 pos)![]() |
void | setTextModeEnabled (bool enabled)![]() |
virtual qint64 | size () const ![]() |
void | ungetChar (char c)![]() |
virtual bool | waitForBytesWritten (int msecs)![]() |
virtual bool | waitForReadyRead (int msecs)![]() |
qint64 | write (const char *data, qint64 len)![]() |
qint64 | write (const char *data)![]() |
qint64 | write (const QByteArray &data)![]() |
Protected Functions Index
QNetworkReply (QObject *parent=0) | |
QNetworkReply (QNetworkReplyPrivate &dd, QObject *parent) | |
void | setAttribute (QNetworkRequest::Attribute code, const QVariant &value) |
void | setError (NetworkError errorCode, const QString &errorString) |
void | setFinished (bool) |
void | setHeader (QNetworkRequest::KnownHeaders header, const QVariant &value) |
void | setOperation (QNetworkAccessManager::Operation operation) |
void | setRawHeader (const QByteArray &headerName, const QByteArray &value) |
void | setRequest (const QNetworkRequest &request) |
void | setUrl (const QUrl &url) |
virtual qint64 | writeData (const char *data, qint64 len) |
QIODevice (QIODevicePrivate &dd, QObject *parent=0)![]() | |
qint64 | readData (char *data, qint64 maxlen)=0![]() |
virtual qint64 | readLineData (char *data, qint64 maxlen)![]() |
void | setErrorString (const QString &errorString)![]() |
void | setOpenMode (OpenMode openMode)![]() |
Public Slots Index
virtual void | ignoreSslErrors () |
Signals Index
void | downloadProgress (qint64 bytesReceived, qint64 bytesTotal) |
void | error (QNetworkReply::NetworkError) |
void | finished () |
void | metaDataChanged () |
void | sslErrors (const QList< QSslError > &errors) |
void | uploadProgress (qint64 bytesSent, qint64 bytesTotal) |
void | aboutToClose ()![]() |
void | bytesWritten (qint64 bytes)![]() |
void | readChannelFinished ()![]() |
void | readyRead ()![]() |
Public Types
- NoError 0
- ConnectionRefusedError 1
- RemoteHostClosedError
- HostNotFoundError
- TimeoutError
- OperationCanceledError
- SslHandshakeFailedError
- TemporaryNetworkFailureError
- UnknownNetworkError 99
- ProxyConnectionRefusedError 101
- ProxyConnectionClosedError
- ProxyNotFoundError
- ProxyTimeoutError
- ProxyAuthenticationRequiredError
- UnknownProxyError 199
- ContentAccessDenied 201
- ContentOperationNotPermittedError
- ContentNotFoundError
- AuthenticationRequiredError
- ContentReSendError
- UnknownContentError 299
- ProtocolUnknownError 301
- ProtocolInvalidOperationError
- ProtocolFailure 399
typedef QPair< QByteArray, QByteArray >
- NotOpen 0x0000
- ReadOnly 0x0001
- WriteOnly 0x0002
- ReadWrite ReadOnly | WriteOnly
- Append 0x0004
- Truncate 0x0008
- Text 0x0010
- Unbuffered 0x0020
Public Functions
Destructor.
void
virtual void
NetworkError
bool
void
bool
bool
virtual bool
QNetworkAccessManager::Operation
QList< QByteArray >
const QList< RawHeaderPair > &
qint64
virtual void
void
virtual bool 
virtual qint64 
virtual qint64 
virtual bool 
bool 
bool 
bool 
bool 
bool 
virtual bool 
OpenMode 
qint64 
virtual qint64 
bool 
qint64 
qint64 
virtual bool 
virtual bool 
void 
virtual qint64 
void 
virtual bool 
virtual bool 
qint64 
qint64 
qint64 
Protected Functions
void
void
void
void
void
void
void
void
virtual qint64
qint64 
virtual qint64 
void 
void 
Public Slots
virtual void
Signals
void
void
void
void
void
void
void 
void 
void 
void 
© 2013 Digia Plc and/or its subsidiaries. Documentation contributions included herein are the copyrights of their respective owners.
The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation.
Documentation sources may be obtained from www.qt-project.org.
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide. All other trademarks are property of their respective owners. Privacy Policy