diff options
Diffstat (limited to 'kontact/plugins')
-rw-r--r-- | kontact/plugins/kaddressbook/kaddressbook_plugin.cpp | 4 | ||||
-rw-r--r-- | kontact/plugins/korganizer/korganizerplugin.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp b/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp index be1fb08de..e3128cdfb 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 a73e551ef..f0f88c7ca 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 ) |