Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
qnetworkreplydataimpl_p.h
Go to the documentation of this file.
1// Copyright (C) 2016 The Qt Company Ltd.
2// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4#ifndef QNETWORKREPLYDATAIMPL_H
5#define QNETWORKREPLYDATAIMPL_H
6
7//
8// W A R N I N G
9// -------------
10//
11// This file is not part of the Qt API. It exists for the convenience
12// of the Network Access API. This header file may change from
13// version to version without notice, or even be removed.
14//
15// We mean it.
16//
17
18#include <QtNetwork/private/qtnetworkglobal_p.h>
19#include "qnetworkreply.h"
20#include "qnetworkreply_p.h"
22#include <QBuffer>
23
25
26
29{
31public:
34 virtual void abort() override;
35
36 // reimplemented from QNetworkReply
37 virtual void close() override;
38 virtual qint64 bytesAvailable() const override;
39 virtual bool isSequential () const override;
40 qint64 size() const override;
41
42 virtual qint64 readData(char *data, qint64 maxlen) override;
43
44 Q_DECLARE_PRIVATE(QNetworkReplyDataImpl)
45};
46
57
59
60#endif // QNETWORKREPLYDATAIMPL_H
\inmodule QtCore \reentrant
Definition qbuffer.h:16
Operation
Indicates the operation this reply is processing.
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)
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.
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
\inmodule QtCore
Definition qobject.h:103
QObject * parent() const
Returns a pointer to the parent object.
Definition qobject.h:346
Combined button and popup list for selecting options.
GLint GLsizei GLsizei GLenum GLenum GLsizei void * data
#define Q_OBJECT
long long qint64
Definition qtypes.h:60
QByteArray readData()