summaryrefslogtreecommitdiffstats
path: root/kmail/bodypartformatterfactory.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-04-14 20:16:30 +0000
commit1c93fca14d9ce37499bcfdf994c660186a0b6f17 (patch)
treef2defe163a805a9e34a2142dfde4cdb5e49241e7 /kmail/bodypartformatterfactory.cpp
parent67e29a054cfcb1b0d2fe6b0a316cf6b3eec087b7 (diff)
downloadtdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.tar.gz
tdepim-1c93fca14d9ce37499bcfdf994c660186a0b6f17.zip
Enable kdepim compilation under Qt4
This will likely break Qt3 compilation temporarily, which is an unintended side effect. A third and final kdepim commit will repair Qt3 compilation shortly. git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1227946 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kmail/bodypartformatterfactory.cpp')
-rw-r--r--kmail/bodypartformatterfactory.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/kmail/bodypartformatterfactory.cpp b/kmail/bodypartformatterfactory.cpp
index f11690d5..5f6feea7 100644
--- a/kmail/bodypartformatterfactory.cpp
+++ b/kmail/bodypartformatterfactory.cpp
@@ -83,7 +83,7 @@ static void insertBodyPartFormatter( const char * type, const char * subtype,
if ( !type || !*type || !subtype || !*subtype || !formatter || !all )
return;
- TypeRegistry::iterator type_it = all->tqfind( type );
+ TypeRegistry::iterator type_it = all->find( type );
if ( type_it == all->end() ) {
kdDebug( 5006 ) << "BodyPartFormatterFactory: instantiating new Subtype Registry for \""
<< type << "\"" << endl;
@@ -92,7 +92,7 @@ static void insertBodyPartFormatter( const char * type, const char * subtype,
}
SubtypeRegistry & subtype_reg = type_it->second;
- SubtypeRegistry::iterator subtype_it = subtype_reg.tqfind( subtype );
+ SubtypeRegistry::iterator subtype_it = subtype_reg.find( subtype );
if ( subtype_it != subtype_reg.end() ) {
kdDebug( 5006 ) << "BodyPartFormatterFactory: overwriting previously registered formatter for \""
<< type << "/" << subtype << "\"" << endl;
@@ -159,9 +159,9 @@ const KMail::Interface::BodyPartFormatter * KMail::BodyPartFormatterFactory::cre
if ( all->empty() )
return 0;
- TypeRegistry::const_iterator type_it = all->tqfind( type );
+ TypeRegistry::const_iterator type_it = all->find( type );
if ( type_it == all->end() )
- type_it = all->tqfind( "*" );
+ type_it = all->find( "*" );
if ( type_it == all->end() )
return 0;
@@ -169,9 +169,9 @@ const KMail::Interface::BodyPartFormatter * KMail::BodyPartFormatterFactory::cre
if ( subtype_reg.empty() )
return 0;
- SubtypeRegistry::const_iterator subtype_it = subtype_reg.tqfind( subtype );
+ SubtypeRegistry::const_iterator subtype_it = subtype_reg.find( subtype );
if ( subtype_it == subtype_reg.end() )
- subtype_it = subtype_reg.tqfind( "*" );
+ subtype_it = subtype_reg.find( "*" );
if ( subtype_it == subtype_reg.end() )
return 0;