Kgapi
tasklistfetchjob.cpp
40 headers << QLatin1StringView(str) + QLatin1StringView(": ") + QLatin1StringView(request.rawHeader(str));
61ObjectsList TaskListFetchJob::handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData)
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
A job to fetch all tasklists from user's Google Tasks account.
Definition tasklistfetchjob.h:26
ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::FetchJob::handleReplyWithItems implementation.
Definition tasklistfetchjob.cpp:61
TaskListFetchJob(const AccountPtr &account, QObject *parent=nullptr)
Constructs a job that will fetch all tasklists from user's Google Tasks account.
Definition tasklistfetchjob.cpp:46
ObjectsList parseJSONFeed(const QByteArray &jsonFeed, FeedData &feedData)
Parses JSON feed into list of Tasks or TaskLists.
Definition tasksservice.cpp:65
void reserve(qsizetype size)
QVariant header(QNetworkRequest::KnownHeaders header) const const
ContentTypeHeader
QObject * parent() const const
QString tr(const char *sourceText, const char *disambiguation, int n)
bool isValid() const const
QString toString() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 4 2024 16:36:14 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.