Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
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
// Qt-Security score:significant reason:default
4
5
#
ifndef
QNETWORKFILE_H
6
#
define
QNETWORKFILE_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
<
QFile
>
21
#
include
<
qnetworkreply
.
h
>
22
23
QT_BEGIN_NAMESPACE
24
25
class
QNetworkFile :
public
QFile
26
{
27
Q_OBJECT
28
public
:
29
QNetworkFile();
30
QNetworkFile(
const
QString &name);
31
using
QFile::open;
32
33
public
Q_SLOTS:
34
void
open();
35
void
close() override;
36
37
Q_SIGNALS:
38
void
finished(
bool
ok);
39
void
headerRead(QHttpHeaders::WellKnownHeader,
const
QByteArray &value);
40
void
networkError(QNetworkReply::NetworkError error,
const
QString &message);
41
};
42
43
QT_END_NAMESPACE
44
45
#
endif
// QNETWORKFILE_H
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qsequentialanimationgroup.cpp:47
qtbase
src
network
access
qnetworkfile_p.h
Generated on
for Qt by
1.18.0