From 8f37a4f755113e7440ae985111d36985d500cc95 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 17 Aug 2010 02:27:43 +0000 Subject: Slew of fixes and upgrades, including: Added kaddressbook automatic sync Added carddav autosync options Added DCOP calls for kaddressbook and korganizer manual resync Repaired Kontact refresh button through above mentioned DCOP calls git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1164528 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- korganizer/actionmanager.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'korganizer/actionmanager.cpp') diff --git a/korganizer/actionmanager.cpp b/korganizer/actionmanager.cpp index 8d1bb0aef..99939ef1c 100644 --- a/korganizer/actionmanager.cpp +++ b/korganizer/actionmanager.cpp @@ -1860,6 +1860,17 @@ bool ActionManager::saveResourceCalendar() return true; } +void ActionManager::loadResourceCalendar() +{ + if ( !mCalendarResources ) return; + CalendarResourceManager *m = mCalendarResources->resourceManager(); + + CalendarResourceManager::ActiveIterator it; + for ( it = m->activeBegin(); it != m->activeEnd(); ++it ) { + (*it)->load(); + } +} + void ActionManager::importCalendar( const KURL &url ) { if ( !url.isValid() ) { -- cgit v1.2.1