From 7be55ffa061c026e35e2d6a0effe1161ddb0d41f Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:53:50 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1157655 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/bodypartformatterfactory.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'kmail/bodypartformatterfactory.cpp') diff --git a/kmail/bodypartformatterfactory.cpp b/kmail/bodypartformatterfactory.cpp index 24ee2fba3..680d0c483 100644 --- a/kmail/bodypartformatterfactory.cpp +++ b/kmail/bodypartformatterfactory.cpp @@ -45,9 +45,9 @@ using namespace KMail::BodyPartFormatterFactoryPrivate; #include // Qt -#include -#include -#include +#include +#include +#include #include @@ -108,9 +108,9 @@ static void loadPlugins() { kdWarning( 5006 ) << "BodyPartFormatterFactory: cannot instantiate plugin loader!" << endl; return; } - const QStringList types = pl->types(); + const TQStringList types = pl->types(); kdDebug( 5006 ) << "BodyPartFormatterFactory: found " << types.size() << " plugins." << endl; - for ( QStringList::const_iterator it = types.begin() ; it != types.end() ; ++it ) { + for ( TQStringList::const_iterator it = types.begin() ; it != types.end() ; ++it ) { const KMail::Interface::BodyPartFormatterPlugin * plugin = pl->createForName( *it ); if ( !plugin ) { kdWarning( 5006 ) << "BodyPartFormatterFactory: plugin \"" << *it << "\" is not valid!" << endl; @@ -182,10 +182,10 @@ const KMail::Interface::BodyPartFormatter * KMail::BodyPartFormatterFactory::cre return (*subtype_it).second; } -const KMail::Interface::BodyPartFormatter * KMail::BodyPartFormatterFactory::createFor( const QString & type, const QString & subtype ) const { +const KMail::Interface::BodyPartFormatter * KMail::BodyPartFormatterFactory::createFor( const TQString & type, const TQString & subtype ) const { return createFor( type.latin1(), subtype.latin1() ); } -const KMail::Interface::BodyPartFormatter * KMail::BodyPartFormatterFactory::createFor( const QCString & type, const QCString & subtype ) const { +const KMail::Interface::BodyPartFormatter * KMail::BodyPartFormatterFactory::createFor( const TQCString & type, const TQCString & subtype ) const { return createFor( type.data(), subtype.data() ); } -- cgit v1.2.1