diff options
Diffstat (limited to 'tderesources/slox/sloxaccounts.cpp')
-rw-r--r-- | tderesources/slox/sloxaccounts.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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<TQString, KABC::Addressee>::ConstIterator it; + TQMap<TQString, TDEABC::Addressee>::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<TQString, KABC::Addressee>::ConstIterator it; + TQMap<TQString, TDEABC::Addressee>::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(); |