diff options
Diffstat (limited to 'libkcal/resourcecached.cpp')
-rw-r--r-- | libkcal/resourcecached.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/libkcal/resourcecached.cpp b/libkcal/resourcecached.cpp index 155d24a0d..1a4e8b19e 100644 --- a/libkcal/resourcecached.cpp +++ b/libkcal/resourcecached.cpp @@ -321,6 +321,21 @@ void ResourceCached::clearCache() mCalendar.close(); } +void ResourceCached::clearEventsCache() +{ + mCalendar.closeEvents(); +} + +void ResourceCached::clearTodosCache() +{ + mCalendar.closeTodos(); +} + +void ResourceCached::clearJournalsCache() +{ + mCalendar.closeJournals(); +} + void ResourceCached::cleanUpEventCache( const Event::List &eventList ) { CalendarLocal calendar ( TQString::fromLatin1( "UTC" ) ); |