summaryrefslogtreecommitdiffstats
path: root/tderesources/lib/addressbookadaptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tderesources/lib/addressbookadaptor.cpp')
-rw-r--r--tderesources/lib/addressbookadaptor.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/tderesources/lib/addressbookadaptor.cpp b/tderesources/lib/addressbookadaptor.cpp
index fa62e791b..d6d719fcf 100644
--- a/tderesources/lib/addressbookadaptor.cpp
+++ b/tderesources/lib/addressbookadaptor.cpp
@@ -29,19 +29,19 @@
#include <tdeio/job.h>
-using namespace KABC;
+using namespace TDEABC;
AddressBookUploadItem::AddressBookUploadItem(
KPIM::GroupwareDataAdaptor *adaptor,
- KABC::Addressee addr,
+ TDEABC::Addressee addr,
GroupwareUploadItem::UploadType type )
: GroupwareUploadItem( type )
{
mItemType = KPIM::FolderLister::Contact;
setUrl( addr.custom( adaptor->identifier(), "storagelocation" ) );
setUid( addr.uid() );
- KABC::VCardConverter vcard;
+ TDEABC::VCardConverter vcard;
#if defined(KABC_VCARD_ENCODING_FIX)
setData( vcard.createVCardRaw( addr ) );
#else
@@ -62,14 +62,14 @@ TQString AddressBookAdaptor::mimeType() const
bool AddressBookAdaptor::localItemExists( const TQString &localId )
{
- KABC::Addressee a = mResource->findByUid( localId );
+ TDEABC::Addressee a = mResource->findByUid( localId );
return !a.isEmpty();
}
bool AddressBookAdaptor::localItemHasChanged( const TQString &localId )
{
- KABC::Addressee::List addressees = mResource->deletedAddressees();
- KABC::Addressee::List::ConstIterator it;
+ TDEABC::Addressee::List addressees = mResource->deletedAddressees();
+ TDEABC::Addressee::List::ConstIterator it;
for( it = addressees.begin(); it != addressees.end(); ++it ) {
if ( (*it).uid() == localId ) return true;
}
@@ -85,14 +85,14 @@ bool AddressBookAdaptor::localItemHasChanged( const TQString &localId )
void AddressBookAdaptor::deleteItem( const TQString &localId )
{
- KABC::Addressee a = mResource->findByUid( localId );
+ TDEABC::Addressee a = mResource->findByUid( localId );
if ( !a.isEmpty() ) {
mResource->removeAddressee( a );
mResource->clearChange( a.uid() );
}
}
-void AddressBookAdaptor::addItem( KABC::Addressee addr )
+void AddressBookAdaptor::addItem( TDEABC::Addressee addr )
{
if ( !addr.isEmpty() ) {
addr.setResource( mResource );
@@ -101,7 +101,7 @@ void AddressBookAdaptor::addItem( KABC::Addressee addr )
}
}
-void AddressBookAdaptor::addressbookItemDownloaded( KABC::Addressee addr,
+void AddressBookAdaptor::addressbookItemDownloaded( TDEABC::Addressee addr,
const TQString &newLocalId, const KURL &remoteId, const TQString &fingerprint,
const TQString &storagelocation )
{
@@ -128,7 +128,7 @@ void AddressBookAdaptor::clearChange( const TQString &uid )
}
KPIM::GroupwareUploadItem *AddressBookAdaptor::newUploadItem(
- KABC::Addressee addr, KPIM::GroupwareUploadItem::UploadType type )
+ TDEABC::Addressee addr, KPIM::GroupwareUploadItem::UploadType type )
{
return new AddressBookUploadItem( this, addr, type );
}