Qt 6.x
The Qt SDK
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 qfile.h:93
bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
Definition qfile.cpp:881
void finished(bool ok)
void error(QNetworkReply::NetworkError error, const QString &message)
void close() override
void headerRead(QNetworkRequest::KnownHeaders header, const QVariant &value)
NetworkError
Indicates all possible error conditions found during the processing of the request.
KnownHeaders
List of known header types that QNetworkRequest parses.
\macro QT_RESTRICTED_CAST_FROM_ASCII
Definition qstring.h:127
\inmodule QtCore
Definition qvariant.h:64
Combined button and popup list for selecting options.
static QString header(const QString &name)
EGLOutputLayerEXT EGLint EGLAttrib value
[5]
GLuint GLsizei const GLchar * message
GLuint name
#define Q_OBJECT
#define Q_SLOTS
#define Q_SIGNALS