diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-07 03:45:53 +0000 |
commit | 10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch) | |
tree | 4bc444c00a79e88105f2cfce5b6209994c413ca0 /kabc/addressbook.cpp | |
parent | 307136d8eef0ba133b78ceee8e901138d4c996a1 (diff) | |
download | tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.tar.gz tdelibs-10308be19ef7fa44699562cc75946e7ea1fdf6b9.zip |
Revert automated changes
Sorry guys, they are just not ready for prime time
Work will continue as always
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1212479 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/addressbook.cpp')
-rw-r--r-- | kabc/addressbook.cpp | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp index ce0da18a5..bf6d0d17a 100644 --- a/kabc/addressbook.cpp +++ b/kabc/addressbook.cpp @@ -522,12 +522,12 @@ void AddressBook::insertAddressee( const Addressee &a ) resource = standardResource(); Resource::Iterator it; - Addressee fAddr = resource->tqfindByUid( a.uid() ); + Addressee fAddr = resource->findByUid( a.uid() ); Addressee addr( a ); if ( !fAddr.isEmpty() ) { if ( fAddr != a ) - addr.setRevision( TQDateTime::tqcurrentDateTime() ); + addr.setRevision( TQDateTime::currentDateTime() ); else { if ( fAddr.resource() == 0 ) { fAddr.setResource( resource ); @@ -555,7 +555,7 @@ void AddressBook::removeAddressee( const Iterator &it ) (*it).resource()->removeAddressee( *it ); } -AddressBook::Iterator AddressBook::tqfind( const Addressee &a ) +AddressBook::Iterator AddressBook::find( const Addressee &a ) { Iterator it; for ( it = begin(); it != end(); ++it ) { @@ -566,11 +566,11 @@ AddressBook::Iterator AddressBook::tqfind( const Addressee &a ) return end(); } -Addressee AddressBook::tqfindByUid( const TQString &uid ) +Addressee AddressBook::findByUid( const TQString &uid ) { KRES::Manager<Resource>::ActiveIterator it; for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it ) { - Addressee addr = (*it)->tqfindByUid( uid ); + Addressee addr = (*it)->findByUid( uid ); if ( !addr.isEmpty() ) return addr; } @@ -589,35 +589,35 @@ Addressee::List AddressBook::allAddressees() return list; } -Addressee::List AddressBook::tqfindByName( const TQString &name ) +Addressee::List AddressBook::findByName( const TQString &name ) { Addressee::List results; KRES::Manager<Resource>::ActiveIterator it; for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it ) - results += (*it)->tqfindByName( name ); + results += (*it)->findByName( name ); return results; } -Addressee::List AddressBook::tqfindByEmail( const TQString &email ) +Addressee::List AddressBook::findByEmail( const TQString &email ) { Addressee::List results; KRES::Manager<Resource>::ActiveIterator it; for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it ) - results += (*it)->tqfindByEmail( email ); + results += (*it)->findByEmail( email ); return results; } -Addressee::List AddressBook::tqfindByCategory( const TQString &category ) +Addressee::List AddressBook::findByCategory( const TQString &category ) { Addressee::List results; KRES::Manager<Resource>::ActiveIterator it; for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it ) - results += (*it)->tqfindByCategory( category ); + results += (*it)->findByCategory( category ); return results; } |