summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/kaddressbook/kaddressbook_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/kaddressbook/kaddressbook_plugin.cpp')
-rw-r--r--kontact/plugins/kaddressbook/kaddressbook_plugin.cpp4
1 files changed, 2 insertions, 2 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 )