The QFile class provides an interface for reading from and writing to files.
bool open(OpenMode flags) override
The QHttpMultiPart class resembles a MIME multipart message to be sent over HTTP.
void append(const QHttpPart &httpPart)
The QHttpPart class holds a body part to be used inside a HTTP multipart MIME message.
void setBodyDevice(QIODevice *device)
void setHeader(QNetworkRequest::KnownHeaders header, const QVariant &value)
void setBody(const QByteArray &body)
The QNetworkAccessManager class allows the application to send network requests and receive replies.
QNetworkReply * post(const QNetworkRequest &request, QIODevice *data)
The QNetworkReply class contains the data and headers for a request sent with QNetworkAccessManager.
The QNetworkRequest class holds a request to be sent with QNetworkAccessManager.
@ ContentDispositionHeader
void setParent(QObject *parent)
The QUrl class provides a convenient interface for working with URLs.
The QVariant class acts like a union for the most common Qt data types.
QNetworkAccessManager manager
QHttpMultiPart * multiPart
[0]
QNetworkRequest request(url)
QUrl url("http://my.server.tld")