From 94273bcb909fac42ef9427e3d8a614cab8c29c66 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Wed, 20 Feb 2013 16:27:27 -0600 Subject: Rename KABC namespace --- tderesources/groupwise/tdeioslave/groupwise.cpp | 14 +++++++------- tderesources/groupwise/tdeioslave/groupwise.h | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) (limited to 'tderesources/groupwise/tdeioslave') diff --git a/tderesources/groupwise/tdeioslave/groupwise.cpp b/tderesources/groupwise/tdeioslave/groupwise.cpp index 5464dae28..56021e68f 100644 --- a/tderesources/groupwise/tdeioslave/groupwise.cpp +++ b/tderesources/groupwise/tdeioslave/groupwise.cpp @@ -48,7 +48,7 @@ #include "groupwise.h" -namespace KABC { +namespace TDEABC { class ResourceMemory : public ResourceCached { @@ -301,8 +301,8 @@ void Groupwise::getAddressbook( const KURL &url ) TQT_SLOT( slotReadAddressBookProcessedSize( int ) ) ); connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ), TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) ); - connect( &server, TQT_SIGNAL( gotAddressees( const KABC::Addressee::List ) ), - TQT_SLOT( slotReadReceiveAddressees( const KABC::Addressee::List ) ) ); + connect( &server, TQT_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ), + TQT_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) ); kdDebug() << "Login" << endl; if ( !server.login() ) { @@ -319,10 +319,10 @@ void Groupwise::getAddressbook( const KURL &url ) } } -void Groupwise::slotReadReceiveAddressees( const KABC::Addressee::List addressees ) +void Groupwise::slotReadReceiveAddressees( const TDEABC::Addressee::List addressees ) { kdDebug() << "Groupwise::slotReadReceiveAddressees() - passing " << addressees.count() << " contacts back to application" << endl; - KABC::VCardConverter conv; + TDEABC::VCardConverter conv; TQString vcard = conv.createVCards( addressees ); @@ -371,8 +371,8 @@ void Groupwise::updateAddressbook( const KURL &url ) GroupwiseServer server( u, user, pass, 0 ); connect( &server, TQT_SIGNAL( errorMessage( const TQString &, bool ) ), TQT_SLOT( slotServerErrorMessage( const TQString &, bool ) ) ); - connect( &server, TQT_SIGNAL( gotAddressees( const KABC::Addressee::List ) ), - TQT_SLOT( slotReadReceiveAddressees( const KABC::Addressee::List ) ) ); + connect( &server, TQT_SIGNAL( gotAddressees( const TDEABC::Addressee::List ) ), + TQT_SLOT( slotReadReceiveAddressees( const TDEABC::Addressee::List ) ) ); kdDebug() << " Login" << endl; if ( !server.login() ) { diff --git a/tderesources/groupwise/tdeioslave/groupwise.h b/tderesources/groupwise/tdeioslave/groupwise.h index e95ed260a..5004682d1 100644 --- a/tderesources/groupwise/tdeioslave/groupwise.h +++ b/tderesources/groupwise/tdeioslave/groupwise.h @@ -48,7 +48,7 @@ class Groupwise : public TQObject, public TDEIO::SlaveBase void slotReadAddressBookTotalSize( int ); void slotReadAddressBookProcessedSize( int ); void slotServerErrorMessage( const TQString &, bool ); - void slotReadReceiveAddressees( const KABC::Addressee::List ); + void slotReadReceiveAddressees( const TDEABC::Addressee::List ); }; #endif -- cgit v1.2.1