KCal Library
resourcelocaldir.cpp
virtual bool doLoad(bool syncCache)
Do the actual loading of the resource data.
Definition: resourcelocaldir.cpp:126
KDateTime::Spec timeSpec() const
Get the viewing time specification (time zone etc.) for the calendar.
Definition: resourcecached.cpp:355
virtual void dump() const
void deleteAllJournals()
Removes all journals from this calendar.
Definition: resourcelocaldir.cpp:278
virtual bool addIncidence(Incidence *incidence)
Inserts an Incidence into the calendar.
Definition: calendar.cpp:573
void close()
virtual Incidence::List rawIncidences()
Returns an unfiltered list of all Incidences for this Calendar.
Definition: calendar.cpp:287
bool assign(IncidenceBase *target, const IncidenceBase *source)
Assigns the incidence referenced by source to the incidence referenced by target, first ensuring that...
Definition: assignmentvisitor.cpp:49
bool deleteJournal(Journal *journal)
Remove a journal from the journallist.
Definition: resourcelocaldir.cpp:264
Helper for type correct assignment of incidences via pointers.
Definition: assignmentvisitor.h:54
bool compare(IncidenceBase *incidence, const IncidenceBase *reference)
Compares the incidence referenced by incidence to the incidence referenced by reference.
Definition: comparisonvisitor.cpp:46
This class provides a calendar resource using a local CalendarLocal object to cache the calendar data...
Definition: resourcecached.h:43
virtual Journal * journal(const QString &uid)
Return Journal with given unique id.
Definition: resourcecached.cpp:325
This class provides a calendar stored as a local file.
Definition: calendarlocal.h:43
void endUpdates()
Call this when a group of updates is complete, to notify observers that the instance has changed.
Definition: incidencebase.cpp:493
bool load(const QString &fileName, CalFormat *format=0)
Loads a calendar on disk in vCalendar or iCalendar format into the current calendar.
Definition: calendarlocal.cpp:115
virtual bool readOnly() const
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:68
Todo * todo(const QString &uid)
Searches todolist for an event with this unique string identifier, returns a pointer or null.
Definition: resourcecached.cpp:310
This class provides the interfaces for a calendar resource.
Definition: resourcecalendar.h:50
void startUpdates()
Call this when a group of updates is going to be made.
Definition: incidencebase.cpp:488
void setRelatedTo(Incidence *incidence)
Relates another incidence to this one.
Definition: incidence.cpp:497
Incidence * incidence(const QString &uid)
Return incidence with given unique id.
Definition: resourcecalendar.cpp:99
virtual bool doSave(bool syncCache)
Do the actual saving of the resource data.
Definition: resourcelocaldir.cpp:176
void close()
Clears out the current calendar, freeing all used memory etc.
Definition: calendarlocal.cpp:158
bool deleteEvent(Event *event)
deletes an event from this calendar.
Definition: resourcelocaldir.cpp:225
Helper for type correct comparison of incidences via pointers.
Definition: comparisonvisitor.h:53
void updated()
Call this to notify the observers after the IncidenceBase object has changed.
Definition: incidencebase.cpp:475
Event * event(const QString &UniqueStr)
Retrieves an event on the basis of the unique string ID.
Definition: resourcecached.cpp:250
This class provides a calendar stored as a file per incidence in a directory.
Definition: resourcelocaldir.h:33
QString relatedToUid() const
Returns a UID string for the incidence that is related to this one.
Definition: incidence.cpp:492
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Wed Jan 29 2020 00:00:00 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.