Kgapi
aboutfetchjob.cpp
102 QUrl url = DriveService::fetchAboutUrl(d->includeSubscribed, d->maxChangeIdCount, d->startChangeId);
108KGAPI2::ObjectsList AboutFetchJob::handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData)
A fetch job that retrieves DriveAbout data.
Definition aboutfetchjob.h:24
bool includeSubscribed
Whether to include shared and public files to change IDs count.
Definition aboutfetchjob.h:39
qlonglong maxChangeIdCount
Maximum number of remaining change IDs to count.
Definition aboutfetchjob.h:48
void setIncludeSubscribed(bool includeSubscribed)
Sets whether to include shared and public files to change IDs count.
Definition aboutfetchjob.cpp:46
void setMaxChangeIdCount(qlonglong maxChangeIdCount)
Sets maximum number of remaining change IDs to count.
Definition aboutfetchjob.cpp:61
void setStartChangeId(qlonglong startChangeId)
Sets change ID to start counting from when calculating number of remaining change IDs.
Definition aboutfetchjob.cpp:76
qlonglong startChangeId
Change ID to start counting from when calculating number of remaining change IDs.
Definition aboutfetchjob.h:58
AboutFetchJob(const AccountPtr &account, QObject *parent=nullptr)
Constructs a new fetch job.
Definition aboutfetchjob.cpp:35
KGAPI2::ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::Job::handleReply implementation.
Definition aboutfetchjob.cpp:108
DriveAbout contains information about the current user along with Google Drive API settings.
Definition about.h:36
static AboutPtr fromJSON(const QByteArray &jsonData)
Constructs a new DriveAbout object from given JSON data.
Abstract superclass for all jobs that fetch resources from Google.
Definition fetchjob.h:25
void setErrorString(const QString &errorString)
Set job error description to errorString.
Definition job.cpp:401
virtual void enqueueRequest(const QNetworkRequest &request, const QByteArray &data=QByteArray(), const QString &contentType=QString())
Enqueues request in dispatcher queue.
Definition job.cpp:513
const_reference at(qsizetype i) const const
QVariant header(QNetworkRequest::KnownHeaders header) const const
ContentTypeHeader
QObject * parent() const const
QString tr(const char *sourceText, const char *disambiguation, int n)
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:17:41 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.