7#include <QtCore/QDebug>
8#include <QNetworkReply>
9#include <QtCore/QDateTime>
10#include <QtCore/QFileInfo>
11#include <QtCore/QMetaObject>
12#include <QtCore/QCoreApplication>
32 "Cannot open %1: Path is a directory").arg(
fileName());
61#include "moc_qnetworkfile_p.cpp"
static QByteArray number(int, int base=10)
Returns a byte-array representing the whole number n as text.
static QString translate(const char *context, const char *key, const char *disambiguation=nullptr, int n=-1)
\threadsafe
FileError error() const
Returns the file error status.
void close() override
Calls QFileDevice::flush() and closes the file.
QFILE_MAYBE_NODISCARD bool open(OpenMode flags) override
Opens the file using OpenMode mode, returning true if successful; otherwise false.
QString fileName() const override
Returns the name set by setFileName() or to the QFile constructors.
bool exists() const
This is an overloaded member function, provided for convenience. It differs from the above function o...
QString errorString() const
Returns a human-readable description of the last device error that occurred.
void headerRead(QHttpHeaders::WellKnownHeader, const QByteArray &value)
@ ContentOperationNotPermittedError
\macro QT_RESTRICTED_CAST_FROM_ASCII
Combined button and popup list for selecting options.