diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-17 02:27:43 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-08-17 02:27:43 +0000 |
commit | 8f37a4f755113e7440ae985111d36985d500cc95 (patch) | |
tree | 3750f2ad5f3ffaac64a98b5fc1a0389838296669 /korganizer/actionmanager.cpp | |
parent | 6d83f2c4e31c985122f6de9dab69d9f1d727b48a (diff) | |
download | tdepim-8f37a4f755113e7440ae985111d36985d500cc95.tar.gz tdepim-8f37a4f755113e7440ae985111d36985d500cc95.zip |
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
Diffstat (limited to 'korganizer/actionmanager.cpp')
-rw-r--r-- | korganizer/actionmanager.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
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() ) { |