From 4f6c584bacc8c3c694228f36ada3de77a76614a6 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 30 Aug 2010 07:52:23 +0000 Subject: * Fixed CalDAV tasks loading when event loading fails * Added calendar control functions to allow for a partial cache clear of only events, todos, or journals git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1169887 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- libkcal/calendarresources.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'libkcal/calendarresources.h') diff --git a/libkcal/calendarresources.h b/libkcal/calendarresources.h index 9d3436348..32c48ba41 100644 --- a/libkcal/calendarresources.h +++ b/libkcal/calendarresources.h @@ -187,6 +187,21 @@ class LIBKCAL_EXPORT CalendarResources : */ void close(); + /** + Clear out the current Calendar, freeing all used memory etc. + */ + void closeEvents(); + + /** + Clear out the current Calendar, freeing all used memory etc. + */ + void closeTodos(); + + /** + Clear out the current Calendar, freeing all used memory etc. + */ + void closeJournals(); + /** Save this Calendar. If the save is successfull, the Ticket is deleted. Otherwise, the -- cgit v1.2.1