diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-01-03 04:12:51 +0000 |
commit | 560378aaca1784ba19806a0414a32b20c744de39 (patch) | |
tree | ce0dfd7c3febf2a1adc7603d1019a8be2083c415 /kabc/distributionlist.cpp | |
parent | d4d5af1cdbd3cc65d095e0afc5b1f4260091cf5d (diff) | |
download | tdelibs-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/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(); |