resourcecached.h
159 Event::List rawEvents( EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
164 Event::List rawEventsForDate( const TQDate &date, EventSortField sortField = EventSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
195 Todo::List rawTodos( TodoSortField sortField = TodoSortUnsorted, SortDirection sortDirection = SortDirectionAscending );
217 Journal::List rawJournals( JournalSortField sortField = JournalSortUnsorted,SortDirection sortDirection = SortDirectionAscending );
This class provides a calendar stored as a local file.
Definition calendarlocal.h:37
This class provides the base class common to all calendar components.
Definition incidence.h:48
void loadCache()
Loads the cache, this method should be called on load.
Definition resourcecached.cpp:302
Alarm::List alarms(const TQDateTime &from, const TQDateTime &to)
Return all alarms, which ocur in the given time interval.
Definition resourcecached.cpp:278
virtual TQString cacheFile() const
This method is used by loadCache() and saveCache(), reimplement it to change the location of the cach...
Definition resourcecached.cpp:418
void setSaveInterval(int minutes)
Set save interval in minutes which is used when save policy is SaveInterval.
Definition resourcecached.cpp:100
Event::List rawEventsForDate(const TQDate &date, EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Builds and then returns a list of all events that match for the date specified.
Definition resourcecached.cpp:184
virtual TQString changesCacheFile(const TQString &) const
Functions for keeping the changes persistent.
Definition resourcecached.cpp:423
void calendarIncidenceChanged(KCal::Incidence *incidence)
Notify the Observer that an Incidence has been modified.
Definition resourcecached.cpp:496
Todo::List rawTodosForDate(const TQDate &date)
Returns list of todos due on the specified date.
Definition resourcecached.cpp:241
void addInfoText(TQString &) const
Add info text for concrete resources.
Definition resourcecached.cpp:687
void calendarIncidenceAdded(KCal::Incidence *incidence)
Notify the Observer that an Incidence has been inserted.
Definition resourcecached.cpp:480
const Person & getOwner() const
Return the owner of the calendar's full name.
Definition resourcecached.cpp:717
void setTimeZoneId(const TQString &timeZoneId)
Set id of timezone, e.g.
Definition resourcecached.cpp:285
Event::List rawEvents(EventSortField sortField=EventSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return unfiltered list of all events in calendar.
Definition resourcecached.cpp:204
Journal * journal(const TQString &uid)
Return Journal with given unique id.
Definition resourcecached.cpp:257
Journal::List rawJournals(JournalSortField sortField=JournalSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return list of all journals.
Definition resourcecached.cpp:262
void setReloadInterval(int minutes)
Set reload interval in minutes which is used when reload policy is ReloadInterval.
Definition resourcecached.cpp:78
virtual void doClose()
Virtual method from KRES::Resource, called when the last instace of the resource is closed.
Definition resourcecached.cpp:701
Journal::List rawJournalsForDate(const TQDate &date)
Return list of journals for the given date.
Definition resourcecached.cpp:267
void calendarIncidenceDeleted(KCal::Incidence *incidence)
Notify the Observer that an Incidence has been removed.
Definition resourcecached.cpp:513
Todo * todo(const TQString &uid)
Searches todolist for an event with this unique string identifier, returns a pointer or null.
Definition resourcecached.cpp:236
TDE_DEPRECATED bool addJournal(Journal *journal)
Add a Journal entry to calendar.
Definition resourcecached.cpp:246
Alarm::List alarmsTo(const TQDateTime &to)
Return all alarms, which ocur before given date.
Definition resourcecached.cpp:273
bool checkForSave()
Check if save required according to save policy.
Definition resourcecached.cpp:681
bool checkForReload()
Check if reload required according to reload policy.
Definition resourcecached.cpp:674
Todo::List rawTodos(TodoSortField sortField=TodoSortUnsorted, SortDirection sortDirection=SortDirectionAscending)
Return list of all todos.
Definition resourcecached.cpp:231
Event * event(const TQString &UniqueStr)
Retrieves an event on the basis of the unique string ID.
Definition resourcecached.cpp:179
Incidence * incidence(const TQString &uid)
Return incidence with given unique id.
Definition resourcecalendar.cpp:91
