4#ifndef QNETWORKREPLYFILEIMPL_P_H
5#define QNETWORKREPLYFILEIMPL_P_H
18#include <QtNetwork/private/qtnetworkglobal_p.h>
23#include <private/qabstractfileengine_p.h>
34 virtual void abort()
override;
37 virtual void close()
override;
45 void fileOpenFinished(
bool isOpen);
66 QNetworkRequest__KnownHeaders, Q_NETWORK_EXPORT)
bool isOpen() const
Returns true if the device is open; otherwise returns false.
The QNetworkAccessManager class allows the application to send network requests and receive replies.
Operation
Indicates the operation this reply is processing.
QNetworkReplyFileImplPrivate()
QPointer< QFile > realFile
QNetworkAccessManagerPrivate * managerPrivate
virtual void close() override
Closes this device for reading.
virtual bool isSequential() const override
virtual qint64 bytesAvailable() const override
Returns the number of bytes that are available for reading.
virtual void abort() override
Aborts the operation immediately and close down any network connections still open.
qint64 size() const override
For open random-access devices, this function returns the size of the device.
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
QNetworkAccessManager * manager() const
Returns the QNetworkAccessManager that was used to create this QNetworkReply object.
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
KnownHeaders
List of known header types that QNetworkRequest parses.
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data