From 4c6f8d69e2d1501837affb472c4eb8fec4462240 Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 10 Aug 2011 06:08:18 +0000 Subject: 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 --- ktnef/lib/ktnefparser.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ktnef/lib/ktnefparser.cpp') 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& props ) { TQString s, dn, addr, t; TQMap::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& 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; -- cgit v1.2.1