Kgapi
calendardeletejob.cpp
24CalendarDeleteJob::CalendarDeleteJob(const CalendarPtr &calendar, const AccountPtr &account, QObject *parent)
31CalendarDeleteJob::CalendarDeleteJob(const CalendarsList &calendars, const AccountPtr &account, QObject *parent)
47CalendarDeleteJob::CalendarDeleteJob(const QStringList &calendarsIds, const AccountPtr &account, QObject *parent)
64 const auto request = CalendarService::prepareRequest(CalendarService::removeCalendarUrl(calendarId));
A job to delete one or more calendars from user's Google Calendar account.
Definition calendardeletejob.h:29
void handleReply(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::Job::handleReply implementation.
Definition calendardeletejob.cpp:69
CalendarDeleteJob(const CalendarPtr &calendar, const AccountPtr &account, QObject *parent)
Constructs a new job that will delete given calendar from user's Google Calendar account.
Definition calendardeletejob.cpp:24
DeleteJob(QObject *parent=nullptr)
Constructor for jobs that don't require authentication.
Definition deletejob.cpp:21
void handleReply(const QNetworkReply *reply, const QByteArray &rawData) override
KGAPI2::Job::handleReply implementation.
Definition deletejob.cpp:58
virtual void enqueueRequest(const QNetworkRequest &request, const QByteArray &data=QByteArray(), const QString &contentType=QString())
Enqueues request in dispatcher queue.
Definition job.cpp:513
QUrl removeCalendarUrl(const QString &calendarID)
Returns URL for removing an existing calendar.
Definition calendarservice.cpp:104
QNetworkRequest prepareRequest(const QUrl &url)
Preparse a QNetworkRequest for given URL.
Definition calendarservice.cpp:66
QObject(QObject *parent)
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.