KCal Library
resourcelocal.cpp
Go to the documentation of this file.
virtual bool doReload()
Called by reload() to reload the resource, if it is already open.
Definition: resourcelocal.cpp:185
bool setFileName(const QString &fileName)
Sets the fileName for this resource.
Definition: resourcelocal.cpp:222
This file is part of the API for handling calendar data and defines the CalendarLocal class...
virtual bool doSave(bool syncCache)
Actually saves the data to the local file.
Definition: resourcelocal.cpp:165
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 open()
KDateTime readLastModified()
Returns the date/time the local file was last modified.
Definition: resourcelocal.cpp:140
virtual void dump() const
void setType(const QString &type)
ResourceLocal & operator=(const ResourceLocal &other)
Sets this ResourceLocal equal to other.
Definition: resourcelocal.cpp:254
This file is part of the API for handling calendar data and defines the ResourceLocal class...
save after every change, after a 15 second delay
Definition: resourcecached.h:66
This file is part of the API for handling calendar data and defines the Todo class.
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition: incidence.h:68
This file is part of the API for handling calendar data and defines the Exception and ErrorFormat cla...
void close()
Clears out the current calendar, freeing all used memory etc.
Definition: calendarlocal.cpp:158
virtual bool doSave(bool syncCache)=0
Do the actual saving of the resource data.
ResourceLocal()
Constructs a resource using default configuration information.
Definition: resourcelocal.cpp:60
This file is part of the API for handling calendar data and defines the Journal class.
virtual bool doLoad(bool syncCache)
Actually loads the data from the local file.
Definition: resourcelocal.cpp:146
Provides a calendar resource stored as a local file.
Definition: resourcelocal.h:46
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...
bool isOpen() const
This class provides a calendar resource using a local CalendarLocal object to cache the calendar data...
Definition: resourcecached.h:43
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 VCalFormat base class...
virtual void writeConfig(KConfigGroup &group)
Writes KConfig config to a local file.
Definition: resourcelocal.cpp:95
bool operator==(const ResourceLocal &other)
Compares this ResourceLocal and other for equality.
Definition: resourcelocal.cpp:247
bool connect(const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type)
void resourceChanged(ResourceCalendar *)
This signal is emitted when the data in the resource has changed.
This file is part of the API for handling calendar data and defines the ICalFormat class...
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.