diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-08-10 06:08:18 +0000 |
commit | 4c6f8d69e2d1501837affb472c4eb8fec4462240 (patch) | |
tree | 766a8ad7939fcf3eec534184c36bd0e0f80489e2 /ktnef/lib/ktnefparser.cpp | |
parent | 469cc56a805bd3d6940d54adbef554877c29853c (diff) | |
download | tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.tar.gz tdepim-4c6f8d69e2d1501837affb472c4eb8fec4462240.zip |
rename the following methods:
tqfind find
tqreplace replace
tqcontains contains
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'ktnef/lib/ktnefparser.cpp')
-rw-r--r-- | ktnef/lib/ktnefparser.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ktnef/lib/ktnefparser.cpp b/ktnef/lib/ktnefparser.cpp index 41bb2b687..a81022046 100644 --- a/ktnef/lib/ktnefparser.cpp +++ b/ktnef/lib/ktnefparser.cpp @@ -465,7 +465,7 @@ void KTNEFParser::checkCurrent( int key ) d->current_ = new KTNEFAttach(); else { - if ( d->current_->attributes().tqcontains( key ) ) + if ( d->current_->attributes().contains( key ) ) { if (d->current_->offset() >= 0 ) { @@ -554,11 +554,11 @@ TQString formatRecipient( const TQMap<int,KTNEFProperty*>& props ) { TQString s, dn, addr, t; TQMap<int,KTNEFProperty*>::ConstIterator it; - if ( ( it = props.tqfind( 0x3001 ) ) != props.end() ) + if ( ( it = props.find( 0x3001 ) ) != props.end() ) dn = ( *it )->valueString(); - if ( ( it = props.tqfind( 0x3003 ) ) != props.end() ) + if ( ( it = props.find( 0x3003 ) ) != props.end() ) addr = ( *it )->valueString(); - if ( ( it = props.tqfind( 0x0C15 ) ) != props.end() ) + if ( ( it = props.find( 0x0C15 ) ) != props.end() ) switch ( ( *it )->value().toInt() ) { case 0: t = "From:"; break; @@ -855,7 +855,7 @@ bool KTNEFParser::readMAPIProperties( TQMap<int,KTNEFProperty*>& props, KTNEFAtt break; } // do not remove potential existing similar entry - if ( ( it = props.tqfind( key ) ) == props.end() ) + if ( ( it = props.find( key ) ) == props.end() ) { p = new KTNEFProperty( key, ( mapi.type & 0x0FFF ), mapi.value, mapi.name.value ); props[ p->key() ] = p; |