diff options
Diffstat (limited to 'kabc/distributionlist.cpp')
-rw-r--r-- | kabc/distributionlist.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/distributionlist.cpp b/kabc/distributionlist.cpp index ee2f2e30a..2fa089bd3 100644 --- a/kabc/distributionlist.cpp +++ b/kabc/distributionlist.cpp @@ -60,7 +60,7 @@ void DistributionList::insertEntry( const Addressee &a, const TQString &email ) for( it = mEntries.begin(); it != mEntries.end(); ++it ) { if ( (*it).addressee.uid() == a.uid() ) { /** - We have to check if both email addresses contains no data, + We have to check if both email addresses tqcontains no data, a simple 'email1 == email2' wont work here */ if ( ( (*it).email.isNull() && email.isEmpty() ) || @@ -211,7 +211,7 @@ bool DistributionListManager::load() kdDebug(5700) << "----- Entry " << id << endl; - Addressee a = d->mAddressBook->findByUid( id ); + Addressee a = d->mAddressBook->tqfindByUid( id ); if ( !a.isEmpty() ) { list->insertEntry( a, email ); } else { @@ -250,7 +250,7 @@ bool DistributionListManager::save() value.append( (*it).email ); } - if ( d->mMissingEntries.find( list->name() ) != d->mMissingEntries.end() ) { + if ( d->mMissingEntries.tqfind( list->name() ) != d->mMissingEntries.end() ) { const MissingEntryList missList = d->mMissingEntries[ list->name() ]; MissingEntryList::ConstIterator missIt; for ( missIt = missList.begin(); missIt != missList.end(); ++missIt ) { @@ -270,7 +270,7 @@ bool DistributionListManager::save() DistributionListWatcher* DistributionListWatcher::mSelf = 0; DistributionListWatcher::DistributionListWatcher() - : TQObject( qApp, "DistributionListWatcher" ) + : TQObject( tqApp, "DistributionListWatcher" ) { mDirWatch = new KDirWatch; mDirWatch->addFile( locateLocal( "data", "kabc/distlists" ) ); @@ -287,7 +287,7 @@ DistributionListWatcher::~DistributionListWatcher() DistributionListWatcher *DistributionListWatcher::self() { - kdWarning( !qApp ) << "No TQApplication object available, you'll get a memleak!" << endl; + kdWarning( !tqApp ) << "No TQApplication object available, you'll get a memleak!" << endl; if ( !mSelf ) mSelf = new DistributionListWatcher(); |