summaryrefslogtreecommitdiffstats
path: root/kabc/distributionlist.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-01-07 03:45:53 +0000
commit10308be19ef7fa44699562cc75946e7ea1fdf6b9 (patch)
tree4bc444c00a79e88105f2cfce5b6209994c413ca0 /kabc/distributionlist.cpp
parent307136d8eef0ba133b78ceee8e901138d4c996a1 (diff)
downloadtdelibs-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/distributionlist.cpp')
-rw-r--r--kabc/distributionlist.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/kabc/distributionlist.cpp b/kabc/distributionlist.cpp
index 2fa089bd3..ee2f2e30a 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 tqcontains no data,
+ We have to check if both email addresses contains 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->tqfindByUid( id );
+ Addressee a = d->mAddressBook->findByUid( id );
if ( !a.isEmpty() ) {
list->insertEntry( a, email );
} else {
@@ -250,7 +250,7 @@ bool DistributionListManager::save()
value.append( (*it).email );
}
- if ( d->mMissingEntries.tqfind( list->name() ) != d->mMissingEntries.end() ) {
+ if ( d->mMissingEntries.find( 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( tqApp, "DistributionListWatcher" )
+ : TQObject( qApp, "DistributionListWatcher" )
{
mDirWatch = new KDirWatch;
mDirWatch->addFile( locateLocal( "data", "kabc/distlists" ) );
@@ -287,7 +287,7 @@ DistributionListWatcher::~DistributionListWatcher()
DistributionListWatcher *DistributionListWatcher::self()
{
- kdWarning( !tqApp ) << "No TQApplication object available, you'll get a memleak!" << endl;
+ kdWarning( !qApp ) << "No TQApplication object available, you'll get a memleak!" << endl;
if ( !mSelf )
mSelf = new DistributionListWatcher();