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/kaddressbook_part.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'kaddressbook/kaddressbook_part.cpp') diff --git a/kaddressbook/kaddressbook_part.cpp b/kaddressbook/kaddressbook_part.cpp index 3acb85aab..34e651846 100644 --- a/kaddressbook/kaddressbook_part.cpp +++ b/kaddressbook/kaddressbook_part.cpp @@ -154,6 +154,12 @@ bool KAddressbookPart::handleCommandLine() return mCore->handleCommandLine( this ); } +void KAddressbookPart::syncAllResources() +{ + mCore->save(); + mCore->load(); +} + void KAddressbookPart::guiActivateEvent( KParts::GUIActivateEvent *e ) { kdDebug(5720) << "KAddressbookPart::guiActivateEvent" << endl; -- cgit v1.2.1