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 --- kontact/plugins/kaddressbook/kaddressbook_plugin.cpp | 4 ++-- kontact/plugins/korganizer/korganizerplugin.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'kontact/plugins') diff --git a/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp b/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp index be1fb08d..e3128cdf 100644 --- a/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp +++ b/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp @@ -120,8 +120,8 @@ void KAddressbookPlugin::slotNewDistributionList() void KAddressbookPlugin::slotSyncContacts() { - DCOPRef ref( "kmail", "KMailICalIface" ); - ref.send( "triggerSync", TQString("Contact") ); + DCOPRef ref( "kaddressbook", "KAddressBookIface" ); + ref.send( "syncAllResources" ); } bool KAddressbookPlugin::createDCOPInterface( const TQString& serviceType ) diff --git a/kontact/plugins/korganizer/korganizerplugin.cpp b/kontact/plugins/korganizer/korganizerplugin.cpp index a73e551e..f0f88c7c 100644 --- a/kontact/plugins/korganizer/korganizerplugin.cpp +++ b/kontact/plugins/korganizer/korganizerplugin.cpp @@ -132,8 +132,8 @@ void KOrganizerPlugin::slotNewEvent() void KOrganizerPlugin::slotSyncEvents() { - DCOPRef ref( "kmail", "KMailICalIface" ); - ref.send( "triggerSync", TQString("Calendar") ); + DCOPRef ref( "korganizer", "KOrganizerIface" ); + ref.send( "syncAllResources" ); } bool KOrganizerPlugin::createDCOPInterface( const TQString& serviceType ) -- cgit v1.2.3