Kgapi
modifyjob.cpp
48void ModifyJob::dispatchRequest(QNetworkAccessManager *accessManager, const QNetworkRequest &request, const QByteArray &data, const QString &contentType)
88ObjectsList ModifyJob::handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData)
virtual void aboutToStart()
This method is invoked right before Job::start() is called.
Definition job.cpp:539
Abstract superclass for all jobs that somehow modify resources on Google.
Definition modifyjob.h:25
ModifyJob(QObject *parent=nullptr)
Constructor for jobs that don't require authentication.
Definition modifyjob.cpp:26
virtual ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData)
A reply handler that returns items parsed from @ rawData.
Definition modifyjob.cpp:88
void dispatchRequest(QNetworkAccessManager *accessManager, const QNetworkRequest &request, const QByteArray &data, const QString &contentType) override
KGAPI2::Job::dispatchRequest implementation.
Definition modifyjob.cpp:48
void handleReply(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::Job::handleReply implementation.
Definition modifyjob.cpp:75
virtual void close() override
virtual bool open(OpenMode flags) override
void setData(const QByteArray &data)
bool isEmpty() const const
qsizetype size() const const
ReadOnly
void clear()
QNetworkReply * sendCustomRequest(const QNetworkRequest &request, const QByteArray &verb, QHttpMultiPart *multiPart)
ContentTypeHeader
bool hasRawHeader(const QByteArray &headerName) const const
void setHeader(KnownHeaders header, const QVariant &value)
void setRawHeader(const QByteArray &headerName, const QByteArray &headerValue)
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:00:11 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.