5#include "private/qdataurl_p.h"
6#include <QtCore/QCoreApplication>
7#include <QtCore/QMetaObject>
43 d->decodedData.setData(payload);
85 return d->decodedData.size();
99 return d->decodedData.read(
data, maxlen);
105#include "moc_qnetworkreplydataimpl_p.cpp"
qsizetype size() const noexcept
Returns the number of bytes in this byte array.
static QString translate(const char *context, const char *key, const char *disambiguation=nullptr, int n=-1)
\threadsafe
virtual bool open(QIODeviceBase::OpenMode mode)
Opens the device and sets its OpenMode to mode.
virtual qint64 bytesAvailable() const
Returns the number of bytes that are available for reading.
Operation
Indicates the operation this reply is processing.
QNetworkReplyDataImplPrivate()
~QNetworkReplyDataImplPrivate()
virtual void close() override
Closes this device for reading.
virtual void abort() override
Aborts the operation immediately and close down any network connections still open.
QNetworkReplyDataImpl(QObject *parent, const QNetworkRequest &req, const QNetworkAccessManager::Operation op)
virtual qint64 readData(char *data, qint64 maxlen) override
qint64 size() const override
For open random-access devices, this function returns the size of the device.
virtual qint64 bytesAvailable() const override
Returns the number of bytes that are available for reading.
virtual bool isSequential() const override
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
void setError(NetworkError errorCode, const QString &errorString)
Sets the error condition to be errorCode.
virtual void close() override
Closes this device for reading.
void setOperation(QNetworkAccessManager::Operation operation)
Sets the associated operation for this object to be operation.
void setUrl(const QUrl &url)
Sets the URL being processed to be url.
void setRequest(const QNetworkRequest &request)
Sets the associated request for this object to be request.
NetworkError
Indicates all possible error conditions found during the processing of the request.
void setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value)
Sets the known header header to be of value value.
QUrl url() const
Returns the URL of the content downloaded or uploaded.
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
QUrl url() const
Returns the URL this network request is referring to.
\macro QT_RESTRICTED_CAST_FROM_ASCII
QString arg(qlonglong a, int fieldwidth=0, int base=10, QChar fillChar=u' ') const
QString toString(FormattingOptions options=FormattingOptions(PrettyDecoded)) const
Returns a string representation of the URL.
Combined button and popup list for selecting options.
Q_CORE_EXPORT bool qDecodeDataUrl(const QUrl &uri, QString &mimeType, QByteArray &payload)
#define Q_ARG(Type, data)
GLenum GLuint GLintptr GLsizeiptr size
[1]
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
IUIAutomationTreeWalker __RPC__deref_out_opt IUIAutomationElement ** parent