88 bool load(
const QDate &,
const QDate &)
116 bool search(
const QString &, QStringList *,
int)
This module provides a simple storage abstraction which contains exactly nothing.
Definition dummystorage.h:36
bool close()
Definition dummystorage.h:80
bool modifyNotebook(const mKCal::Notebook::Ptr &)
Definition dummystorage.h:128
bool insertedIncidences(KCalendarCore::Incidence::List *, const QDateTime &, const QString &)
Get inserted incidences from storage.
Definition dummystorage.h:100
bool load()
Definition dummystorage.h:68
bool deletedIncidences(KCalendarCore::Incidence::List *, const QDateTime &, const QString &)
Get deleted incidences from storage.
Definition dummystorage.h:108
bool save(DeleteAction)
This is an overload of save() method.
Definition dummystorage.h:76
void calendarIncidenceDeleted(const KCalendarCore::Incidence::Ptr &, const KCalendarCore::Calendar *)
Definition dummystorage.h:58
bool modifiedIncidences(KCalendarCore::Incidence::List *, const QDateTime &, const QString &)
Get modified incidences from storage.
Definition dummystorage.h:104
void calendarIncidenceAdditionCanceled(const KCalendarCore::Incidence::Ptr &)
Definition dummystorage.h:61
bool open()
Definition dummystorage.h:64
void calendarModified(bool, KCalendarCore::Calendar *)
Definition dummystorage.h:49
bool loadNotebooks()
Definition dummystorage.h:120
bool allIncidences(KCalendarCore::Incidence::List *, const QString &)
Get all incidences from storage.
Definition dummystorage.h:112
bool load(const QString &)
Load all incidences sharing the same uid into the memory.
Definition dummystorage.h:84
void calendarIncidenceChanged(const KCalendarCore::Incidence::Ptr &)
Definition dummystorage.h:55
QDateTime incidenceDeletedDate(const KCalendarCore::Incidence::Ptr &)
Get deletion time of incidence.
Definition dummystorage.h:136
bool purgeDeletedIncidences(const KCalendarCore::Incidence::List &, const QString &)
Remove from storage all incidences that have been previously marked as deleted and that matches the U...
Definition dummystorage.h:96
void virtual_hook(int, void *)
Standard trick to add virtuals later.
Definition dummystorage.h:140
bool insertNotebook(const mKCal::Notebook::Ptr &)
Definition dummystorage.h:124
bool loadNotebookIncidences(const QString &)
Load incidences of one notebook into the memory.
Definition dummystorage.h:92
bool search(const QString &, QStringList *, int)
Get all incidences from storage that match key.
Definition dummystorage.h:116
void calendarIncidenceAdded(const KCalendarCore::Incidence::Ptr &)
Definition dummystorage.h:52
bool eraseNotebook(const mKCal::Notebook::Ptr &)
Definition dummystorage.h:132
bool load(const QDate &, const QDate &)
Load incidences between given dates into the memory.
Definition dummystorage.h:88
DummyStorage(const mKCal::ExtendedCalendar::Ptr &cal)
Definition dummystorage.h:38
bool save()
Definition dummystorage.h:72
This class provides a calendar storage interface.
Definition extendedstorage.h:63
bool setDefaultNotebook(const Notebook::Ptr &nb)
setDefaultNotebook to the storage.
Definition extendedstorage.cpp:469
bool addNotebook(const Notebook::Ptr &nb)
Add new notebook to the storage.
Definition extendedstorage.cpp:370
DeleteAction
Action to be performed on save for deleted incidences.
Definition extendedstorage.h:71
Placeholder for Notebook parameters.
Definition notebook.h:46
QSharedPointer< Notebook > Ptr
A shared pointer to a Notebook object.
Definition notebook.h:51
This file is part of the API for handling calendar data and defines the ExtendedCalendar class.
This file is part of the API for handling calendar data and defines the ExtendedStorage interface.
#define MKCAL_EXPORT
Definition mkcal_export.h:29
Definition extendedstorage.h:49
This file is part of the API for handling calendar data and defines the Notebook class.