Go to the documentation of this file. 1 #ifndef MKCAL_SERVICEHANDLER_H
2 #define MKCAL_SERVICEHANDLER_H
25 #include <incidence.h>
35 class ServiceHandlerPrivate;
50 ServiceHandlerPrivate *
const d;
86 bool sendInvitation(
const KCalCore::Incidence::Ptr &invitation,
const QString &body,
100 bool sendUpdate(
const KCalCore::Incidence::Ptr &invitation,
const QString &body,
const ExtendedCalendar::Ptr &calendar,
113 bool sendResponse(
const KCalCore::Incidence::Ptr &invitation,
const QString &body,
159 const QString &path);
169 bool deleteAttachment(
const KCalCore::Incidence::Ptr &incidence,
const Notebook::Ptr ¬ebook,
195 QString defaultNotebook(
const QString &productId);
217 QStringList availableServices();
225 QString icon(QString serviceId);
233 QString uiName(QString serviceId);
237 void downloadProgress(
int id,
int percentage);
240 void downloadFinished(
int id);
243 void downloadError(
int id, ErrorCode error);
247 #endif // MKCAL_SERVICEHANDLER_H
static ServiceHandler & instance()
Obtain an instance of the ServiceHandler.
Definition: servicehandler.h:70
@ ErrorNoAccount
Definition: servicehandler.h:60
@ ErrorNotSupported
Definition: servicehandler.h:61
ErrorCode
Error Codes that can be returned by the plugins.
Definition: servicehandler.h:58
const QString defaultName
Definition: servicehandler.h:33
@ ErrorInvalidParameters
Definition: servicehandler.h:63
QSharedPointer< Notebook > Ptr
A shared pointer to a Notebook object.
Definition: notebook.h:53
Definition: extendedstorage.h:49
@ ErrorNoConnectivity
Definition: servicehandler.h:62
QSharedPointer< ExtendedStorage > Ptr
A shared pointer to a ExtendedStorage.
Definition: extendedstorage.h:94
#define MKCAL_EXPORT
Definition: mkcal_export.h:27
Singleton class to get the exact handler (plugin) of the service.
Definition: servicehandler.h:41
Generated on Sat Oct 17 2020 06:54:57 for libextendedkcal by
1.8.17