Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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// Qt-Security score:significant reason:default
4
5#ifndef QNETWORKREPLYDATAIMPL_H
6#define QNETWORKREPLYDATAIMPL_H
7
8//
9// W A R N I N G
10// -------------
11//
12// This file is not part of the Qt API. It exists for the convenience
13// of the Network Access API. This header file may change from
14// version to version without notice, or even be removed.
15//
16// We mean it.
17//
18
19#include <QtNetwork/private/qtnetworkglobal_p.h>
20#include "qnetworkreply.h"
23#include <QBuffer>
24
26
27
30{
32public:
35 virtual void abort() override;
36
37 // reimplemented from QNetworkReply
38 virtual void close() override;
39 virtual qint64 bytesAvailable() const override;
40 virtual bool isSequential () const override;
41 qint64 size() const override;
42
43 virtual qint64 readData(char *data, qint64 maxlen) override;
44
46};
47
48class QNetworkReplyDataImplPrivate: public QNetworkReplyPrivate
49{
50public:
53
55
56 Q_DECLARE_PUBLIC(QNetworkReplyDataImpl)
57};
58
59QT_END_NAMESPACE
60
61#endif // QNETWORKREPLYDATAIMPL_H
The QNetworkCookieJar class implements a simple jar of QNetworkCookie objects.
The QNetworkCookie class holds one network cookie.
virtual void close() override
Closes this device for reading.
virtual void abort() override
Aborts the operation immediately and closes any network connections still open.
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
Q_CORE_EXPORT QDebug operator<<(QDebug debug, QDir::Filters filters)
Definition qdir.cpp:2568
#define QNetworkAccessBackendFactory_iid