KCal Library
resourcelocaldir.cpp
bool isReadable() const
This file is part of the API for handling calendar data and defines the CalendarLocal class...
Helper for type correct assignment of incidences via pointers.
Definition: assignmentvisitor.h:54
bool remove()
QString relatedToUid() const
Returns a UID string for the incidence that is related to this one.
Definition: incidence.cpp:492
KDateTime::Spec timeSpec() const
Get the viewing time specification (time zone etc.) for the calendar.
Definition: resourcecached.cpp:355
void updated()
Call this to notify the observers after the IncidenceBase object has changed.
Definition: incidencebase.cpp:475
virtual bool doLoad(bool syncCache)
Do the actual loading of the resource data.
Definition: resourcelocaldir.cpp:126
bool deleteJournal(Journal *journal)
Definition: calendarlocal.cpp:583
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 doSave(bool syncCache)
Do the actual saving of the resource data.
Definition: resourcelocaldir.cpp:176
virtual void dump() const
QString uid() const
Returns the unique id (uid) for the incidence.
Definition: incidencebase.cpp:184
This class provides a calendar stored as a local file.
Definition: calendarlocal.h:43
This class provides the interfaces for a calendar resource.
Definition: resourcecalendar.h:50
bool compare(IncidenceBase *incidence, const IncidenceBase *reference)
Compares the incidence referenced by incidence to the incidence referenced by reference.
Definition: comparisonvisitor.cpp:46
bool deleteEvent(Event *event)
deletes an event from this calendar.
Definition: resourcelocaldir.cpp:225
bool isDir() const
QString fileName() const
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
This file is part of the API for handling calendar data and defines the Todo class.
bool isEmpty() const
bool startsWith(const QString &s, Qt::CaseSensitivity cs) const
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:68
void close()
Clears out the current calendar, freeing all used memory etc.
Definition: calendarlocal.cpp:158
Helper for type correct comparison of incidences via pointers.
Definition: comparisonvisitor.h:53
void deleteAllJournals()
Removes all journals from this calendar.
Definition: resourcelocaldir.cpp:278
iterator end()
virtual bool readOnly() const
void setRelatedTo(Incidence *incidence)
Relates another incidence to this one.
Definition: incidence.cpp:497
This file is part of the API for handling calendar data and defines the Journal class.
bool contains(QChar ch, Qt::CaseSensitivity cs) const
void startUpdates()
Call this when a group of updates is going to be made.
Definition: incidencebase.cpp:488
virtual bool addIncidence(Incidence *incidence)
Inserts an Incidence into the calendar.
Definition: calendar.cpp:573
bool deleteJournal(Journal *journal)
Remove a journal from the journallist.
Definition: resourcelocaldir.cpp:264
This file is part of the API for handling calendar data and defines the Event class.
This file is part of the API for handling calendar data and defines the Incidence class...
QStringList entryList(QFlags< QDir::Filter > filters, QFlags< QDir::SortFlag > sort) const
typedef ConstIterator
This class provides a calendar resource using a local CalendarLocal object to cache the calendar data...
Definition: resourcecached.h:43
bool isWritable() const
virtual Incidence::List rawIncidences()
Returns an unfiltered list of all Incidences for this Calendar.
Definition: calendar.cpp:287
This class provides a calendar stored as a file per incidence in a directory.
Definition: resourcelocaldir.h:33
void endUpdates()
Call this when a group of updates is complete, to notify observers that the instance has changed...
Definition: incidencebase.cpp:493
const_iterator constEnd() const
const_iterator constBegin() const
iterator begin()
void close()
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:38:30 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.