summaryrefslogtreecommitdiffstats
path: root/kabc/addressbook.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-03 04:12:51 +0000
commit560378aaca1784ba19806a0414a32b20c744de39 (patch)
treece0dfd7c3febf2a1adc7603d1019a8be2083c415 /kabc/addressbook.cpp
parentd4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff)
downloadtdelibs-560378aaca1784ba19806a0414a32b20c744de39.tar.gz
tdelibs-560378aaca1784ba19806a0414a32b20c744de39.zip
Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1
NOTE: This will not compile with Qt4 (yet), however it does compile with Qt3 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1211081 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kabc/addressbook.cpp')
-rw-r--r--kabc/addressbook.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/kabc/addressbook.cpp b/kabc/addressbook.cpp
index bf6d0d17a..ce0da18a5 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->findByUid( a.uid() );
+ Addressee fAddr = resource->tqfindByUid( a.uid() );
Addressee addr( a );
if ( !fAddr.isEmpty() ) {
if ( fAddr != a )
- addr.setRevision( TQDateTime::currentDateTime() );
+ addr.setRevision( TQDateTime::tqcurrentDateTime() );
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::find( const Addressee &a )
+AddressBook::Iterator AddressBook::tqfind( const Addressee &a )
{
Iterator it;
for ( it = begin(); it != end(); ++it ) {
@@ -566,11 +566,11 @@ AddressBook::Iterator AddressBook::find( const Addressee &a )
return end();
}
-Addressee AddressBook::findByUid( const TQString &uid )
+Addressee AddressBook::tqfindByUid( const TQString &uid )
{
KRES::Manager<Resource>::ActiveIterator it;
for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it ) {
- Addressee addr = (*it)->findByUid( uid );
+ Addressee addr = (*it)->tqfindByUid( uid );
if ( !addr.isEmpty() )
return addr;
}
@@ -589,35 +589,35 @@ Addressee::List AddressBook::allAddressees()
return list;
}
-Addressee::List AddressBook::findByName( const TQString &name )
+Addressee::List AddressBook::tqfindByName( const TQString &name )
{
Addressee::List results;
KRES::Manager<Resource>::ActiveIterator it;
for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it )
- results += (*it)->findByName( name );
+ results += (*it)->tqfindByName( name );
return results;
}
-Addressee::List AddressBook::findByEmail( const TQString &email )
+Addressee::List AddressBook::tqfindByEmail( const TQString &email )
{
Addressee::List results;
KRES::Manager<Resource>::ActiveIterator it;
for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it )
- results += (*it)->findByEmail( email );
+ results += (*it)->tqfindByEmail( email );
return results;
}
-Addressee::List AddressBook::findByCategory( const TQString &category )
+Addressee::List AddressBook::tqfindByCategory( const TQString &category )
{
Addressee::List results;
KRES::Manager<Resource>::ActiveIterator it;
for ( it = d->mManager->activeBegin(); it != d->mManager->activeEnd(); ++it )
- results += (*it)->findByCategory( category );
+ results += (*it)->tqfindByCategory( category );
return results;
}