103 bool load(
const QString &,
const QDateTime &)
111 bool load(
const QDate &,
const QDate &)
181 KCalendarCore::Person::List l;
231 bool duplicateIncidences(KCalendarCore::Incidence::List *,
const KCalendarCore::Incidence::Ptr &,
const QString &)
This module provides a simple storage abstraction which contains exactly nothing.
Definition dummystorage.h:36
bool notifyOpened(const KCalendarCore::Incidence::Ptr &)
Mark if supported by the storage that an incidence has been opened.
Definition dummystorage.h:192
void calendarIncidenceAdditionCanceled(const KCalendarCore::Incidence::Ptr &) const
Definition dummystorage.h:212
bool loadGeoIncidences(float, float, float, float)
Load incidences that have geo parameters inside given rectangle.
Definition dummystorage.h:143
int loadUncompletedTodos()
Load all uncompleted todos.
Definition dummystorage.h:151
bool close()
Definition dummystorage.h:99
bool insertedIncidences(KCalendarCore::Incidence::List *, const QDateTime &, const QString &)
Get inserted incidences from storage.
Definition dummystorage.h:215
int todoCount()
Get count of todos.
Definition dummystorage.h:251
bool load()
Definition dummystorage.h:82
int journalCount()
Get count of journals.
Definition dummystorage.h:255
bool deletedIncidences(KCalendarCore::Incidence::List *, const QDateTime &, const QString &)
Get deleted incidences from storage.
Definition dummystorage.h:223
bool duplicateIncidences(KCalendarCore::Incidence::List *, const KCalendarCore::Incidence::Ptr &, const QString &)
Get possible duplicates for given incidence.
Definition dummystorage.h:231
bool save(DeleteAction)
This is an overload of save() method.
Definition dummystorage.h:95
void calendarIncidenceDeleted(const KCalendarCore::Incidence::Ptr &) const
Definition dummystorage.h:209
void calendarIncidenceDeleted(const KCalendarCore::Incidence::Ptr &, const KCalendarCore::Calendar *)
Definition dummystorage.h:58
void calendarIncidenceAdded(const KCalendarCore::Incidence::Ptr &) const
Definition dummystorage.h:203
bool loadJournals()
Load journal type entries.
Definition dummystorage.h:127
bool purgeDeletedIncidences(const KCalendarCore::Incidence::List &)
Remove from storage all incidences that have been previously marked as deleted and that matches the U...
Definition dummystorage.h:64
int loadOldInvitationIncidences(int, QDateTime *)
Definition dummystorage.h:175
void calendarModified(bool, const KCalendarCore::Calendar *) const
Definition dummystorage.h:200
int eventCount()
Get count of events.
Definition dummystorage.h:247
bool load(const QDate &)
Load incidences at given date into the memory.
Definition dummystorage.h:107
bool modifiedIncidences(KCalendarCore::Incidence::List *, const QDateTime &, const QString &)
Get modified incidences from storage.
Definition dummystorage.h:219
void calendarIncidenceAdditionCanceled(const KCalendarCore::Incidence::Ptr &)
Definition dummystorage.h:61
bool open()
Definition dummystorage.h:73
int loadContactIncidences(const KCalendarCore::Person &, int, QDateTime *)
Load all incidences that have the specified attendee.
Definition dummystorage.h:184
void calendarModified(bool, KCalendarCore::Calendar *)
Definition dummystorage.h:49
bool loadNotebooks()
Definition dummystorage.h:235
bool allIncidences(KCalendarCore::Incidence::List *, const QString &)
Get all incidences from storage.
Definition dummystorage.h:227
int loadFutureIncidences(int, QDateTime *)
Load future incidences based on start/due date.
Definition dummystorage.h:163
bool modifyNotebook(const mKCal::Notebook::Ptr &, mKCal::DBOperation)
Definition dummystorage.h:239
KCalendarCore::Person::List loadContacts()
Load all contacts in the database.
Definition dummystorage.h:179
void calendarIncidenceChanged(const KCalendarCore::Incidence::Ptr &)
Definition dummystorage.h:55
QDateTime incidenceDeletedDate(const KCalendarCore::Incidence::Ptr &)
Get deletion time of incidence.
Definition dummystorage.h:243
int loadGeoIncidences(bool, int, QDateTime *)
Load incidences that have location information based on parameters.
Definition dummystorage.h:167
bool loadIncidenceInstance(const QString &)
Load the incidence matching the given identifier.
Definition dummystorage.h:119
bool load(const QString &, const QDateTime &)
Load incidence by uid into the memory.
Definition dummystorage.h:103
bool loadSeries(const QString &)
Load all incidences sharing the same uid into the memory.
Definition dummystorage.h:115
bool loadAttendeeIncidences()
Load incidences that have attendee.
Definition dummystorage.h:147
void virtual_hook(int, void *)
Standard trick to add virtuals later.
Definition dummystorage.h:259
bool loadPlainIncidences()
Load plain incidences (no startdate and no enddate).
Definition dummystorage.h:131
bool loadNotebookIncidences(const QString &)
Load incidences of one notebook into the memory.
Definition dummystorage.h:123
bool loadRecurringIncidences()
Load recurring incidences.
Definition dummystorage.h:135
int loadJournals(int, QDateTime *)
Load journal entries based on parameters.
Definition dummystorage.h:188
int loadUnreadInvitationIncidences()
Definition dummystorage.h:171
bool cancel()
Cancel any ongoing action (load etc.).
Definition dummystorage.h:196
int loadCompletedTodos(bool, int, QDateTime *)
Load completed todos based on parameters.
Definition dummystorage.h:155
void calendarIncidenceAdded(const KCalendarCore::Incidence::Ptr &)
Definition dummystorage.h:52
int loadIncidences(bool, int, QDateTime *)
Load incidences based on start/due date or creation date.
Definition dummystorage.h:159
void calendarIncidenceChanged(const KCalendarCore::Incidence::Ptr &) const
Definition dummystorage.h:206
bool loadGeoIncidences()
Load incidences that have geo parameters.
Definition dummystorage.h:139
bool load(const QDate &, const QDate &)
Load incidences between given dates into the memory.
Definition dummystorage.h:111
DummyStorage(const mKCal::ExtendedCalendar::Ptr &cal)
Definition dummystorage.h:38
bool save()
Definition dummystorage.h:91
This class provides a calendar storage interface.
Definition extendedstorage.h:72
bool setDefaultNotebook(const Notebook::Ptr &nb)
setDefaultNotebook to the storage.
Definition extendedstorage.cpp:527
bool addNotebook(const Notebook::Ptr &nb)
Add new notebook to the storage.
Definition extendedstorage.cpp:420
DeleteAction
Action to be performed on save for deleted incidences.
Definition extendedstorage.h:80
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:27
Definition extendedstorage.h:49
DBOperation
Database operation type.
Definition extendedstorage.h:54
This file is part of the API for handling calendar data and defines the Notebook class.