KCal Library
resourcelocal.h
Go to the documentation of this file.
Provides the abstract base class common to non-FreeBusy (Events, To-dos, Journals) calendar component...
Definition incidence.h:70
virtual bool doLoad(bool syncCache)=0
Do the actual loading of the resource data.
Incidence * incidence(const QString &uid)
Return incidence with given unique id.
Definition resourcecalendar.cpp:99
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
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
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.