Kgapi
taskfetchjob.h
145 explicit TaskFetchJob(const QString &taskListId, const AccountPtr &account, QObject *parent = nullptr);
160 explicit TaskFetchJob(const QString &taskId, const QString &taskListId, const AccountPtr &account, QObject *parent = nullptr);
266 ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override;
Abstract superclass for all jobs that fetch resources from Google.
Definition fetchjob.h:25
quint64 completedMin
Timestamp of the oldest completed task that will be fetched.
Definition taskfetchjob.h:101
quint64 fetchOnlyUpdated
Timestamp to fetch only tasks modified since then.
Definition taskfetchjob.h:71
void setDueMin(quint64 timestamp)
Sets timestamp of oldest due task that can be fetched.
Definition taskfetchjob.cpp:136
quint64 completedMax
Timestamp of the newest completed task that will be fetched.
Definition taskfetchjob.h:86
ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::FetchJob::handleReplyWithItems implementation.
Definition taskfetchjob.cpp:200
void setCompletedMax(quint64 timestamp)
Sets timestamp of newest completed task that can be fetched.
Definition taskfetchjob.cpp:122
void setCompletedMin(quint64 timestamp)
Sets timestamp of oldest completed task that can be fetched.
Definition taskfetchjob.cpp:108
void setFetchCompleted(bool fetchCompleted=true)
Sets whether the job should fetch completed tasks.
Definition taskfetchjob.cpp:80
void setFetchDeleted(bool fetchDeleted=true)
Sets whether to fetch should deleted tasks.
Definition taskfetchjob.cpp:94
void setDueMax(quint64 timestamp)
Sets timestamp of newest due task that can be fetched.
Definition taskfetchjob.cpp:150
TaskFetchJob(const QString &taskListId, const AccountPtr &account, QObject *parent=nullptr)
Constructs a job that will fetch all tasks from a tasklist with given taskListId.
Definition taskfetchjob.cpp:49
void setFetchOnlyUpdated(quint64 timestamp)
Sets the job to fetch only events modified since timestamp.
Definition taskfetchjob.cpp:66
QObject(QObject *parent)
Q_OBJECTQ_OBJECT
Q_PROPERTY(...)
QObject * parent() const const
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:07:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 31 2025 12:07:24 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.