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