KCal Library
resourcelocal.cpp
This file is part of the API for handling calendar data and defines the Exception and ErrorFormat cla...
This file is part of the API for handling calendar data and defines the ResourceLocal class.
virtual void dump() const
virtual bool doSave(bool syncCache)=0
Do the actual saving of the resource data.
void close()
void resourceChanged(ResourceCalendar *)
This signal is emitted when the data in the resource has changed.
This class provides a calendar resource using a local CalendarLocal object to cache the calendar data...
Definition: resourcecached.h:45
bool operator==(const ResourceLocal &other)
Compares this ResourceLocal and other for equality.
Definition: resourcelocal.cpp:247
Provides a calendar resource stored as a local file.
Definition: resourcelocal.h:47
virtual bool doReload()
Called by reload() to reload the resource, if it is already open.
Definition: resourcelocal.cpp:185
This file is part of the API for handling calendar data and defines the ICalFormat class.
virtual void writeConfig(KConfigGroup &group)
Writes KConfig config to a local file.
Definition: resourcelocal.cpp:95
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
bool isOpen() const
This file is part of the API for handling calendar data and defines the Event class.
virtual bool doSave(bool syncCache)
Actually saves the data to the local file.
Definition: resourcelocal.cpp:165
This file is part of the API for handling calendar data and defines the VCalFormat base class.
ResourceLocal()
Constructs a resource using default configuration information.
Definition: resourcelocal.cpp:60
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:70
bool setValue(const QString &key, const QString &value)
Sets a value for this resource.
Definition: resourcelocal.cpp:238
This file is part of the API for handling calendar data and defines the Incidence class.
KDateTime readLastModified()
Returns the date/time the local file was last modified.
Definition: resourcelocal.cpp:140
This file is part of the API for handling calendar data and defines the Journal class.
This file is part of the API for handling calendar data and defines the CalendarLocal class.
Incidence * incidence(const QString &uid)
Return incidence with given unique id.
Definition: resourcecalendar.cpp:99
void setType(const QString &type)
void close()
Clears out the current calendar, freeing all used memory etc.
Definition: calendarlocal.cpp:158
This file is part of the API for handling calendar data and defines the Todo class.
bool setFileName(const QString &fileName)
Sets the fileName for this resource.
Definition: resourcelocal.cpp:222
bool open()
ResourceLocal & operator=(const ResourceLocal &other)
Sets this ResourceLocal equal to other.
Definition: resourcelocal.cpp:254
This file is part of the KDE documentation.
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:51:21 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2021 The KDE developers.
Generated on Tue Jul 27 2021 06:51:21 by doxygen 1.8.20 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.