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 --- kaddressbook/kabcore.cpp | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'kaddressbook/kabcore.cpp') diff --git a/kaddressbook/kabcore.cpp b/kaddressbook/kabcore.cpp index e1585476..427cb79a 100644 --- a/kaddressbook/kabcore.cpp +++ b/kaddressbook/kabcore.cpp @@ -877,6 +877,16 @@ void KABCore::save() } } +void KABCore::load() +{ + TQPtrList resources = mAddressBook->resources(); + TQPtrListIterator it( resources ); + while ( it.current() ) { + mAddressBook->load(); + ++it; + } +} + void KABCore::setJumpButtonBarVisible( bool visible ) { if ( visible ) { -- cgit v1.2.3