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
qnetworkfile_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 QNETWORKFILE_H
5#define QNETWORKFILE_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 <QFile>
20#include <qnetworkreply.h>
21
23
24class QNetworkFile : public QFile
25{
27public:
30 using QFile::open;
31
32public Q_SLOTS:
33 void open();
34 void close() override;
35
37 void finished(bool ok);
40};
41
43
44#endif // QNETWORKFILE_H
\inmodule QtCore
Definition qbytearray.h:57
FileError error() const
Returns the file error status.
\inmodule QtCore
Definition qfile.h:93
QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
Definition qfile.cpp:904
WellKnownHeader
List of well known headers as per \l {https://www.iana.org/assignments/http-fields}{IANA registry}.
void finished(bool ok)
void error(QNetworkReply::NetworkError error, const QString &message)
void close() override
void headerRead(QHttpHeaders::WellKnownHeader, const QByteArray &value)
NetworkError
Indicates all possible error conditions found during the processing of the request.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:129
Combined button and popup list for selecting options.
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint GLsizei const GLchar * message
GLuint name
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS