Kgapi
eventfetchjob.h
126 explicit EventFetchJob(const QString &calendarId, const AccountPtr &account, QObject *parent = nullptr);
140 explicit EventFetchJob(const QString &eventId, const QString &calendarId, const AccountPtr &account, QObject *parent = nullptr);
246 ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override;
EventFetchJob(const QString &calendarId, const AccountPtr &account, QObject *parent=nullptr)
Constructs a job that will fetch all events from a calendar with given calendarId.
Definition eventfetchjob.cpp:36
void setSyncToken(const QString &syncToken)
Sets token for incremental updates.
Definition eventfetchjob.cpp:98
void setFetchOnlyUpdated(quint64 timestamp)
Sets the job to fetch only events modified since timestamp.
Definition eventfetchjob.cpp:68
QList< Event::EventType > eventTypes() const
Returns the types of events to retrieve.
void setFetchDeleted(bool fetchDeleted=true)
Sets whether to fetch deleted events.
Definition eventfetchjob.cpp:53
void setTimeMax(quint64 timestamp)
Sets timestamp of newest event that can be fetched.
Definition eventfetchjob.cpp:83
bool handleError(int errorCode, const QByteArray &rawData) override
KGAPI2::Job::handleError implementation.
Definition eventfetchjob.cpp:172
void setEventTypes(const QList< Event::EventType > eventTypes)
Sets the types of events to retrieve.
quint64 fetchOnlyUpdated
Timestamp to fetch only events modified since then.
Definition eventfetchjob.h:60
void setTimeMin(quint64 timestamp)
Sets timestamp of older events that can be fetched.
Definition eventfetchjob.cpp:108
ObjectsList handleReplyWithItems(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::FetchJob::handleReplyWithItems implementation.
Definition eventfetchjob.cpp:185
Abstract superclass for all jobs that fetch resources from Google.
Definition fetchjob.h:25
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 24 2025 11:57:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:57:30 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.