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/slox/sloxaccounts.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tderesources/slox/sloxaccounts.cpp') diff --git a/tderesources/slox/sloxaccounts.cpp b/tderesources/slox/sloxaccounts.cpp index 1831d79ae..3afa7019d 100644 --- a/tderesources/slox/sloxaccounts.cpp +++ b/tderesources/slox/sloxaccounts.cpp @@ -61,7 +61,7 @@ SloxAccounts::~SloxAccounts() if ( mDownloadJob ) mDownloadJob->kill(); } -void SloxAccounts::insertUser( const TQString &id, const KABC::Addressee &a ) +void SloxAccounts::insertUser( const TQString &id, const TDEABC::Addressee &a ) { kdDebug() << "SloxAccount::insertUser() " << id << endl; @@ -75,13 +75,13 @@ void SloxAccounts::insertUser( const TQString &id, const KABC::Addressee &a ) KCal::FreeBusyUrlStore::self()->writeUrl( email, url ); } -KABC::Addressee SloxAccounts::lookupUser( const TQString &id ) +TDEABC::Addressee SloxAccounts::lookupUser( const TQString &id ) { - TQMap::ConstIterator it; + TQMap::ConstIterator it; it = mUsers.find( id ); if ( it == mUsers.end() ) { requestAccounts(); - return KABC::Addressee(); + return TDEABC::Addressee(); } else { return *it; } @@ -91,7 +91,7 @@ TQString SloxAccounts::lookupId( const TQString &email ) { kdDebug() << "SloxAccounts::lookupId() " << email << endl; - TQMap::ConstIterator it; + TQMap::ConstIterator it; for( it = mUsers.begin(); it != mUsers.end(); ++it ) { kdDebug() << "PREF: " << (*it).preferredEmail() << endl; kdDebug() << "KEY: " << it.key() << endl; @@ -201,7 +201,7 @@ void SloxAccounts::readAccounts() for( uint i = 0; i < nodes.count(); ++i ) { TQDomElement element = nodes.item(i).toElement(); TQString id; - KABC::Addressee a; + TDEABC::Addressee a; TQDomNode n; for( n = element.firstChild(); !n.isNull(); n = n.nextSibling() ) { TQDomElement e = n.toElement(); -- cgit v1.2.1