Go to the documentation of this file.
22 #ifndef DUMMYSTORAGE_H
23 #define DUMMYSTORAGE_H
102 bool load(
const QString &,
const KDateTime &)
110 bool load(
const QDate &,
const QDate &)
176 KCalCore::Person::List l;
bool reloadNotebooks()
Definition: dummystorage.h:234
bool save(DeleteAction)
This is an overload of save() method.
Definition: dummystorage.h:94
This module provides a simple storage abstraction which contains exactly nothing.
Definition: dummystorage.h:35
void calendarModified(bool, const KCalCore::Calendar *) const
Definition: dummystorage.h:195
void calendarModified(bool, KCalCore::Calendar *)
Definition: dummystorage.h:49
void calendarIncidenceDeleted(const KCalCore::Incidence::Ptr &) const
Definition: dummystorage.h:204
bool load()
Definition: dummystorage.h:81
KDateTime incidenceDeletedDate(const KCalCore::Incidence::Ptr &incidence)
Get deletion time of incidence.
Definition: dummystorage.h:242
bool deletedIncidences(KCalCore::Incidence::List *, const KDateTime &, const QString &)
Get deleted incidences from storage.
Definition: dummystorage.h:218
bool modifyNotebook(const mKCal::Notebook::Ptr &, mKCal::DBOperation, bool)
Definition: dummystorage.h:238
KCalCore::Person::List loadContacts()
Load all contacts in the database.
Definition: dummystorage.h:174
void calendarIncidenceChanged(const KCalCore::Incidence::Ptr &)
Definition: dummystorage.h:55
bool modifiedIncidences(KCalCore::Incidence::List *, const KDateTime &, const QString &)
Get modified incidences from storage.
Definition: dummystorage.h:214
void calendarIncidenceAdditionCanceled(const KCalCore::Incidence::Ptr &) const
Definition: dummystorage.h:207
bool loadPlainIncidences()
Load plain incidences (no startdate and no enddate).
Definition: dummystorage.h:126
bool close()
Definition: dummystorage.h:98
This class provides a calendar storage interface.
Definition: extendedstorage.h:76
bool loadGeoIncidences(float, float, float, float)
Load incidences that have geo parameters inside given rectangle.
Definition: dummystorage.h:138
DBOperation
Database operation type.
Definition: extendedstorage.h:54
int loadJournals(int, KDateTime *)
Load journal entries based on parameters.
Definition: dummystorage.h:183
bool loadSeries(const QString &)
Load all incidences sharing the same uid into the memory.
Definition: dummystorage.h:114
bool save()
Definition: dummystorage.h:90
bool loadGeoIncidences()
Load incidences that have geo parameters.
Definition: dummystorage.h:134
bool loadNotebookIncidences(const QString &)
Load incidences of one notebook into the memory.
Definition: dummystorage.h:118
bool load(const QDate &)
Load incidences at given date into the memory.
Definition: dummystorage.h:106
bool open()
Definition: dummystorage.h:72
bool loadJournals()
Load journal type entries.
Definition: dummystorage.h:122
int loadUncompletedTodos()
Load all uncompleted todos.
Definition: dummystorage.h:146
int loadIncidences(bool, int, KDateTime *)
Load incidences based on start/due date or creation date.
Definition: dummystorage.h:154
int loadCompletedTodos(bool, int, KDateTime *)
Load completed todos based on parameters.
Definition: dummystorage.h:150
bool duplicateIncidences(KCalCore::Incidence::List *, const KCalCore::Incidence::Ptr &, const QString &)
Get possible duplicates for given incidence.
Definition: dummystorage.h:226
int loadContactIncidences(const KCalCore::Person::Ptr &, int, KDateTime *)
Load all incidences that have the specified attendee.
Definition: dummystorage.h:179
bool load(const QString &, const KDateTime &)
Load incidence by uid into the memory.
Definition: dummystorage.h:102
QSharedPointer< Notebook > Ptr
A shared pointer to a Notebook object.
Definition: notebook.h:53
Definition: extendedstorage.h:49
void calendarIncidenceDeleted(const KCalCore::Incidence::Ptr &)
Definition: dummystorage.h:58
void virtual_hook(int, void *)
Standard trick to add virtuals later.
Definition: dummystorage.h:258
bool notifyOpened(const KCalCore::Incidence::Ptr &)
Mark if supported by the storage that an incidence has been opened.
Definition: dummystorage.h:187
Placeholder for Notebook parameters.
Definition: notebook.h:47
bool loadRecurringIncidences()
Load recurring incidences.
Definition: dummystorage.h:130
void calendarIncidenceChanged(const KCalCore::Incidence::Ptr &) const
Definition: dummystorage.h:201
void calendarIncidenceAdded(const KCalCore::Incidence::Ptr &)
Definition: dummystorage.h:52
int loadGeoIncidences(bool, int, KDateTime *)
Load incidences that have location information based on parameters.
Definition: dummystorage.h:162
#define MKCAL_EXPORT
Definition: mkcal_export.h:27
int loadUnreadInvitationIncidences()
Load all unread incidences that are related to an invitation.
Definition: dummystorage.h:166
int loadFutureIncidences(int, KDateTime *)
Load future incidences based on start/due date.
Definition: dummystorage.h:158
bool cancel()
Cancel any ongoing action (load etc.).
Definition: dummystorage.h:191
bool purgeDeletedIncidences(const KCalCore::Incidence::List &)
Remove from storage all incidences that have been previously marked as deleted and that matches the U...
Definition: dummystorage.h:64
bool insertedIncidences(KCalCore::Incidence::List *, const KDateTime &, const QString &)
Get inserted incidences from storage.
Definition: dummystorage.h:210
bool setDefaultNotebook(const Notebook::Ptr &nb)
setDefaultNotebook to the storage.
Definition: extendedstorage.cpp:462
int loadOldInvitationIncidences(int, KDateTime *)
Load incidences that are related to an invitation.
Definition: dummystorage.h:170
bool addNotebook(const Notebook::Ptr &nb, bool signal=true)
Add new notebook to the storage.
Definition: extendedstorage.cpp:361
int journalCount()
Get count of journals.
Definition: dummystorage.h:254
int todoCount()
Get count of todos.
Definition: dummystorage.h:250
void calendarIncidenceAdded(const KCalCore::Incidence::Ptr &) const
Definition: dummystorage.h:198
bool load(const QDate &, const QDate &)
Load incidences between given dates into the memory.
Definition: dummystorage.h:110
bool loadAttendeeIncidences()
Load incidences that have attendee.
Definition: dummystorage.h:142
DummyStorage(const mKCal::ExtendedCalendar::Ptr &cal)
Definition: dummystorage.h:38
int eventCount()
Get count of events.
Definition: dummystorage.h:246
void calendarIncidenceAdditionCanceled(const KCalCore::Incidence::Ptr &)
Definition: dummystorage.h:61
bool allIncidences(KCalCore::Incidence::List *, const QString &)
Get all incidences from storage.
Definition: dummystorage.h:222
bool loadNotebooks()
Definition: dummystorage.h:230
DeleteAction
Action to be performed on save for deleted incidences.
Definition: extendedstorage.h:86
Generated on Sat Oct 17 2020 06:54:57 for libextendedkcal by
1.8.17