From f4fae92b6768541e2952173c3d4b09040f95bf7e Mon Sep 17 00:00:00 2001 From: tpearson Date: Wed, 16 Feb 2011 20:17:18 +0000 Subject: Moved kpilot from kdepim to applications, as the core Trinity libraries should not contain hardware-dependent software git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdepim@1221127 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kmail/objecttreeparser.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'kmail/objecttreeparser.cpp') diff --git a/kmail/objecttreeparser.cpp b/kmail/objecttreeparser.cpp index d8b98f24..132dc058 100644 --- a/kmail/objecttreeparser.cpp +++ b/kmail/objecttreeparser.cpp @@ -272,7 +272,7 @@ namespace KMail { ProcessResult processResult; if ( mReader ) { - htmlWriter()->queue( TQString::fromLatin1("").arg( node->nodeId() ) ); + htmlWriter()->queue( TQString::tqfromLatin1("").arg( node->nodeId() ) ); } if ( const Interface::BodyPartFormatter * formatter @@ -461,7 +461,7 @@ namespace KMail { dumpToFile( "dat_01_reader_signedtext_before_canonicalization", cleartext.data(), cleartext.length() ); - // replace simple LFs by CRLSs + // tqreplace simple LFs by CRLSs // according to RfC 2633, 3.1.1 Canonicalization //kdDebug(5006) << "Converting LF to CRLF (see RfC 2633, 3.1.1 Canonicalization)" << endl; cleartext = Util::lf2crlf( cleartext ); @@ -829,7 +829,7 @@ bool ObjectTreeParser::okDecryptMIME( partNode& data, if ( mReader ) emit mReader->noDrag(); // in case pineentry pops up, don't let kmheaders start a drag afterwards - // Check whether the memento contains a result from last time: + // Check whether the memento tqcontains a result from last time: const DecryptVerifyBodyPartMemento * m = dynamic_cast( data.bodyPartMemento( "decryptverify" ) ); if ( !m ) { @@ -936,7 +936,7 @@ bool ObjectTreeParser::okDecryptMIME( partNode& data, } //static - bool ObjectTreeParser::containsExternalReferences( const TQCString & str ) + bool ObjectTreeParser::tqcontainsExternalReferences( const TQCString & str ) { TQRegExp httpRegExp("(\\\"|\\\'|url\\s*\\(\\s*)http[s]?:"); int httpPos = str.find( httpRegExp, 0 ); @@ -990,12 +990,12 @@ bool ObjectTreeParser::okDecryptMIME( partNode& data, // ---Sven's strip and from end of attachment end- // Show the "external references" warning (with possibility to load // external references only if loading external references is disabled - // and the HTML code contains obvious external references). For + // and the HTML code tqcontains obvious external references). For // messages where the external references are obfuscated the user won't // have an easy way to load them but that shouldn't be a problem - // because only spam contains obfuscated external references. + // because only spam tqcontains obfuscated external references. if ( !mReader->htmlLoadExternal() && - containsExternalReferences( cstr ) ) { + tqcontainsExternalReferences( cstr ) ) { htmlWriter()->queue( "
\n" ); htmlWriter()->queue( i18n("Note: This HTML message may contain external " "references to images etc. For security/privacy reasons " @@ -1357,7 +1357,7 @@ namespace KMail { const Kleo::CryptoBackend::Protocol * useThisCryptProto = 0; /* - ATTENTION: This code is to be replaced by the new 'auto-detect' feature. -------------------------------------- + ATTENTION: This code is to be tqreplaced by the new 'auto-detect' feature. -------------------------------------- */ partNode * data = child->findType( DwMime::kTypeApplication, DwMime::kSubtypeOctetStream, false, true ); @@ -1559,7 +1559,7 @@ namespace KMail { writeDeferredDecryptionBlock(); } else { /* - ATTENTION: This code is to be replaced by the planned 'auto-detect' feature. + ATTENTION: This code is to be tqreplaced by the planned 'auto-detect' feature. */ PartMetaData messagePart; setCryptoProtocol( Kleo::CryptoBackendFactory::instance()->openpgp() ); @@ -2795,7 +2795,7 @@ void ObjectTreeParser::writeBodyStr( const TQCString& aStr, const TQTextCodec *a bool goodSignature = false; Kpgp::Module* pgp = Kpgp::Module::getKpgp(); assert(pgp != 0); - bool isPgpMessage = false; // true if the message contains at least one + bool isPgpMessage = false; // true if the message tqcontains at least one // PGP MESSAGE or one PGP SIGNED MESSAGE block TQString dir = ( TQApplication::reverseLayout() ? "rtl" : "ltr" ); TQString headerStr = TQString("
").arg(dir); @@ -3083,7 +3083,7 @@ TQString ObjectTreeParser::quotedHTML( const TQString& s, bool decorate ) { // don't write empty
blocks (they have zero height) // ignore ^M DOS linebreaks - if( !line.replace('\015', "").isEmpty() ) + if( !line.tqreplace('\015', "").isEmpty() ) { htmlStr +=TQString( "
" ).arg( line.isRightToLeft() ? "rtl":"ltr" ); htmlStr += LinkLocator::convertToHtml( line, convertFlags ); -- cgit v1.2.3